negative lookahead

noun

negative lookahead

noun

Etymology 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

Entry derived from the Wiktionary, under licence CC BY-SA 4.0 — list of authors.