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

doesn't support positive or negative lookbehind syntax #48

Open
masukomi opened this issue Jul 10, 2020 · 2 comments
Open

doesn't support positive or negative lookbehind syntax #48

masukomi opened this issue Jul 10, 2020 · 2 comments

Comments

@masukomi
Copy link

Positive lookbehind: (?<=Y)X, matches X, but only if there’s Y before it.
Negative lookbehind: (?<!Y)X, matches X, but only if there’s no Y before it.

@liudongmiao
Copy link

demo: https://jianyu.io/regulex/

@masukomi
Copy link
Author

that demo link didn't include positive or negative lookbehind, but i fiddled with it and it looks good to me. Thanks :D

demo with positive lookbehind

demo with negative 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