Name | Pattern | Description | Example |
---|---|---|---|
Positive Lookahead | q(?=u) |
q followed by u |
q in absquatulate |
Negative Lookahead | q(?!u) |
q not followed by u |
q in qwerty |
Positive Lookbehind | (?<=q)u |
u preceded by q |
u in question |
Negative Lookbehind | (?<!q)u |
u not preceded by q |
u in excuses |
Last active
April 15, 2017 20:54
-
-
Save a2/1196145 to your computer and use it in GitHub Desktop.
Look ( Ahead | Behind )
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment