endOfLine
Tries to match an end of line (either \r\n
, \r
or \n
)
Available since: v1.0.0-alpha.3
Type declaration
Example
In this example we are going to parser the string "Hello"
followed by a newline.
The result
of the parser above will be: