Lucee like every other CFML engine only support Perl5 Regex what has some limitations and bugs (the lib we use).
It should be possible in Lucee gto enable the Regex engine that comes with Java instead.
looks like this, can also be defined with the tag cfapplication.
actually ACF already supports this, as per
their syntax is
this.useJavaAsRegexEngine = true
also, it’s missing from the export settings page
added alias for “useJavaAsRegexEngine“, please see