Match a regular expression
JavaScript regex to match. Don't use an end anchor. Start anchor will be added if not already there
number of characters to pull from the input to try to match. We'll keep grabbing more if a match is found for the whole string
number of characters to pull from the input to try to match. We'll keep grabbing more if a match is found for the whole string
Subclasses will override this to convert the string value from a successful match to any type they require. This enables safe creation of custom types.
raw string resulting from a successful match
Generated using TypeDoc
Support for regex matching. Subclasses can convert the value to whatever type they require.