|
|
|
|
|
by pygy_
3419 days ago
|
|
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 |
|