Utility function that provides a bit cleaner interface for running a Matcher over a string.
Input string is broken down to characters as [...str] unless you provide a pre-split array.
[...str]
A matched value.
A matcher to run.
Input string or an array of graphemes.
Parser options.
Generated using TypeDoc
Utility function that provides a bit cleaner interface for running a Matcher over a string.
Input string is broken down to characters as
[...str]
unless you provide a pre-split array.Returns
A matched value.