class Pegmatite::Pattern::UnicodeChar
- Pegmatite::Pattern::UnicodeChar
- Pegmatite::Pattern
- Reference
- Object
Overview
Pattern::UnicodeChar is used to consume a single specific character.
Parsing will fail if a valid UTF-32 codepoint couldn't be parsed, or if the parsed codepoint didn't match the expected one. Otherwise, the pattern succeeds, consuming the matched bytes.