Negate a given token, causing it to match anything other than the token itself.
Negatable tokens: lineFeed, carriageReturn, backspace, tab, verticalWhitespace, formFeed, nullChar, octal, hex, unicode, word, digit, whitespace, charIn, lineStart, lineEnd, wordBoundary, ahead, behind
lineFeed
carriageReturn
backspace
tab
verticalWhitespace
formFeed
nullChar
octal
hex
unicode
word
digit
whitespace
charIn
lineStart
lineEnd
wordBoundary
ahead
behind
Examples are provided in the documentation of the negatable tokens themselves.
not.lineFeednot(lineFeed) Copy
not.lineFeednot(lineFeed)
RegExp equivalent:
/[^\n]/ Copy
/[^\n]/
Generated using TypeDoc
Negate a given token, causing it to match anything other than the token itself.
Negatable tokens:
lineFeed
,carriageReturn
,backspace
,tab
,verticalWhitespace
,formFeed
,nullChar
,octal
,hex
,unicode
,word
,digit
,whitespace
,charIn
,lineStart
,lineEnd
,wordBoundary
,ahead
,behind
Examples are provided in the documentation of the negatable tokens themselves.