notAhead`foo`
not.ahead`foo`
notAhead.exactly`foo`
notAhead('foo')
RegExp equivalent:
/(?!foo)/
Wrap the given token in a negative lookahead.
notAhead
is a short form of not.ahead
. See the documentation of ahead for more details.
Rest
...args: unknown[]notAhead`foo`
not.ahead`foo`
notAhead.exactly`foo`
notAhead('foo')
RegExp equivalent:
/(?!foo)/
Wrap the given token in a negative lookahead.
notAhead
is a short form of not.ahead
. See the documentation of ahead for more details.
Optional
node: RegExpTokennotAhead`foo`
not.ahead`foo`
notAhead.exactly`foo`
notAhead('foo')
RegExp equivalent:
/(?!foo)/
Generated using TypeDoc
Wrap the given token in a negative lookahead.
notAhead
is a short form ofnot.ahead
. See the documentation of ahead for more details.