Represents a match
id of the matcher that matched
the actual string content
offset from 0 in input
the actual string content
id of the matcher that matched
offset from 0 in input
Value extracted from matcher.
Return just the structure that was matched, throwing away offset and matcher information. This is useful if you want to store PatternMatches after you're done with their internal information.
Generated using TypeDoc
Represents a successful match. Contains microgrammar information in fields with names beginning with $ and any user-defined fields. To ensure this separation works cleanly, not bind user data to fields beginning with $.