negative lookahead
nounEtymology From negative + lookahead.
1
The analysis of the subsequent characters absence before the regular expression is matched (symbol: ?!).
Regular expressions
- Negative lookahead works just like positive lookahead, except that whereas positive lookahead matches when the regex inside the lookahead matches, negative lookahead matches when the regex inside the lookahead failed to match.2012 August, Jan Goyvaerts, Steven Levithan, Regular Expressions Cookbook:
- Hypernyms
- lookahead, lookaround