You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.
Some time ago, Javascript got a stickiness flag y. Now Ceylon can have cross-platform sticky regexes, as in Java it is implemented (as \G boundary condition at the start of the pattern) since at least Java 7 (possibly earlier).
[Previously opened in a wrong repo, sorry.]
Some time ago, Javascript got a stickiness flag
y
. Now Ceylon can have cross-platform sticky regexes, as in Java it is implemented (as\G
boundary condition at the start of the pattern) since at least Java 7 (possibly earlier).Relevant docs about sticky mode:
java.util.regex.Pattern
§ Boundary matchers.RegExp.prototype.sticky
.About compatibility issues: one can easily test if
y
is supported, via creatingRegExp('', 'y')
and catching an (or no) exception.Maybe other useful additions have appeared in JS, too.
The text was updated successfully, but these errors were encountered: