class Pegmatite::Pattern::UnicodeRange
- Pegmatite::Pattern::UnicodeRange
- Pegmatite::Pattern
- Reference
- Object
Overview
Pattern::UnicodeRange is used to consume a single character from within a specified contiguous range of acceptable codepoints.
Parsing will fail if a valid UTF-32 codepoint couldn't be parsed, or if the parsed codepoint didn't fall in the specified range. Otherwise, the pattern succeeds, consuming the matched bytes.