REMatch not supporting capturing groups

Hi

again in JS where have a great Regex engine, however the one in Lucee seems
to be a bit spartan. No capturing groups? No way to use flags?
I would be happy to here if the engine would be replaced by a more
extensive one?

rematch() is a bit rubbish in that it doesn’t support capture groups
(there’s a ticket in for this for ColdFusion:
Tracker which looks to be
coming in CF12; there’s no equivalent ticket for Lucee, so you might want
to raise one); however reFind() and reReplace() do support capture groups.

And as far as I know all regex operations in CFML support flags, via the
(?[flag]) syntax, eg (?i).

CFML doesn’t have pattern objects, so the flags need to be part of the
pattern string.On Wednesday, 4 November 2015 03:55:22 UTC, Mattijs Spierings wrote:

Hi

again in JS where have a great Regex engine, however the one in Lucee
seems to be a bit spartan. No capturing groups? No way to use flags?
I would be happy to here if the engine would be replaced by a more
extensive one?

Yeah, I looked at ReFind but I don’t like using string positions to get my
matches. Of course I could write a UDF that uses reFind in the background
and returns the matches.
Can’t we tap into native Java for this? I bet they have a better regEx
match then the current one.On Wednesday, 4 November 2015 17:46:59 UTC+11, Adam Cameron wrote:

rematch() is a bit rubbish in that it doesn’t support capture groups
(there’s a ticket in for this for ColdFusion:
Tracker which looks to
be coming in CF12; there’s no equivalent ticket for Lucee, so you might
want to raise one); however reFind() and reReplace() do support capture
groups.

And as far as I know all regex operations in CFML support flags, via the
(?[flag]) syntax, eg (?i).

CFML doesn’t have pattern objects, so the flags need to be part of the
pattern string.

On Wednesday, 4 November 2015 03:55:22 UTC, Mattijs Spierings wrote:

Hi

again in JS where have a great Regex engine, however the one in Lucee
seems to be a bit spartan. No capturing groups? No way to use flags?
I would be happy to here if the engine would be replaced by a more
extensive one?