in reply to Re^4: Non-greedy match end of line bug?
in thread Non-greedy match end of line bug?
Well JS claimed from the very beginning on to re-implement the Perl4 regex features.
So if anything, then it's JS which is buggy.
Furthermore, since when does JS support the /s flag? I can see that it works in FF now, but I can't find it documented in MDN !?!
Not long ago JS required a "weird" character class like [^] to also match newlines, alike . with /s flag in Perl.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Non-greedy match end of line bug?
by Fletch (Bishop) on Oct 27, 2021 at 00:33 UTC |