Hi,
I have an regex (tested on regex101.com with javascript selected) and I get an exception
[message: SyntaxError: invalid flag after regular expression]
The regex:
/<mabasedata\s*(comment=\"([a-z0-9]*)\")+>/gi;
Text to parse
<MaBaseData Comment="abc">
Maybe this is a problem with the server-side javascript?
Hi @drichter wondering if this also throws error for you?
\/<mabasedata\s*(comment=\"([a-z0-9]*)\")+>\/gi;
In js you defined regex via:
var regex = /bla/OPTIONS;
To escape the / does not work.