Skip to Content
Table of Contents
Quick Take
Inspect the character and remainder after a match
Let a callback veto an otherwise successful match
Match without letter-case sensitivity
The Callback Use
Advance to the next string index
Match the start or end of a string
Include the indexed character in a left-side match
Match a value immediately to the left of an index
Include the indexed character in a right-side match
Require boundary characters and choose hungry matching
Tolerate a missing character
Skip selected characters before matching
Skip whitespace before matching