News for hackers. Stuff that matters.
Re:Optimizations in Syntax Highlighting by pygy_ on Wednesday February 08, 2017 @04:17PM (#13602205)
They have lookbehind lookup that's only coming now in ESNext , and, more importantly, recursion, if I understand properly[0].

Maybe more things, I stopped reading the docs at that point to comment here. They have other features absent from JS that can be more or less polyfilled, like possessive quantifiers and sticky matching (they do it with an escape sequence, though, so it can only be polyfilled using this trick[1] if the escape character applies to the whole regexp rather than part of it).

[0] https://github.com/kkos/oniguruma/blob/1983356862bc3ff795d77...

[1] https://github.com/slevithan/xregexp/issues/152

Re:Optimizations in Syntax Highlighting by Groxx on Wednesday February 08, 2017 @08:16PM (#13603788)
Yeah, if lookbehinds aren't supported yet, that'd be death. Thanks!