Variable lineEndConst

lineEnd: RegExpToken = r.lineEnd

Assert position at the end of string, or end of line if multiline flag is set.

Example

lineEnd

RegExp equivalent:

/$/

Example

Negated token

not.lineEnd
not(lineEnd)

RegExp equivalent:

/(?!$)/

Generated using TypeDoc