whitespace
Tries to match one or more whitespaces (regex: /[\r\n\t\f\v ]+/
).
Available since: v1.0.0-alpha.1
Type declaration
Example
In this example we are going to parse a newline (\n
), an arbitrary word followed by another newline.
The result
of the parser above will be: