CJex / regulex

:construction: Regular Expression Excited!
https://jex.im/regulex/
MIT License
5.71k stars 756 forks source link

doesn't support positive or negative lookbehind syntax #48

Open masukomi opened 4 years ago

masukomi commented 4 years ago

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 commented 2 years ago

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

masukomi commented 2 years ago

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