between
Tries to match a given inner
surrounded by a given outerLeft
and outerRight
. The outerRight
parser is optional and defaults to outerLeft
.
Available since: v1.0.0-alpha.4
Type declaration
Example
In this example we are going to parse the string "Hello"
between braces.
The result
of the parser above will be: