Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lookbehind #77

Closed
ShimShamSam opened this issue Sep 16, 2014 · 1 comment
Closed

Lookbehind #77

ShimShamSam opened this issue Sep 16, 2014 · 1 comment

Comments

@ShimShamSam
Copy link

Any chance of getting negative/positive lookbehind implemented? This might be a big undertaking considering it isn't natively supported by browsers.

@slevithan
Copy link
Owner

Unfortunately it is not possible to implement fully accurate backtracking within emulated lookbehind. This will require native lookbehind support.

However, see https://gist.github.com/slevithan/2387872 which shows how to extend XRegExp to add support for infinite-length leading lookbehind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants