Regexp - Look- around group (Assertion)

> Procedural Languages > Multilingual Regular Expression Syntax (Pattern)

1 - About

Look-around are non-capturing group that implements an assertion pattern

Advertising

3 - List

Assertion
(?=X) X, positive lookahead (via zero-width)
(?!X) X, negative lookahead (via zero-width)
(?<=X) X, positive lookbehind (via zero-width)
(?<!X) X, negative lookbehind (via zero-width)

where X is a sub-regular expression

lang/regexp/look.txt · Last modified: 2019/06/13 14:39 by gerardnico