[Gambas-user] RegExp: How to find all matches of a pattern (global match)?
T Lee Davidson
t.lee.davidson at gmail.com
Tue Aug 22 00:29:47 CEST 2023
On 8/21/23 12:03, Jesus Guardon wrote:
> The external parenthesis makes the group that captures all matches. Don't forget to apply the "/gmi" modifiers, which stands for
> "global", "multiline" and case "insensitive", if needed. See it working in my example:
>
> https://regex101.com/r/41vaTw/1
Thank you for that pattern, Jesus. It is considerably shorter than the one I was using. But, it still doesn't work in Gambas as
there is no Global Match compile option - at least not that I have found.
--
Lee
More information about the User
mailing list