Issue Bug Closed

#83385SyntaxError: invalid regular expression flag s - in page tree

Tymoteusz Motylewski 12/19/17, 10:16 updated 10/02/18, 10:53

Description

Seems that JS regex flag /s is not supported in all browsers.

SyntaxError: invalid regular expression flag s

Instead we could use

[/s/S]*

to match newlines also.

Reviews 1