How can I access v2 regular expressions in a JS script, please? I need V2's capture naming.
RegExp (1) provides v2 patterns on a check box, and it respects capture names:


But despite Help for JS Renaming's:
- Code: Select all
regEx("text", "match", "replace")
This function processes a regular expression [b]in the same way as it is done in section RegEx (1)[/b].
regEx() does not respect capture names:


Neither regEx2() nor regExV2() are available.
For all I can tell, this regEx behaviour may be a bug.
Any suggestions gratefully received.
Thanks.