12.2.2 Regexp Character Sets
A character set is written with […] in a regexp pattern (via the implicit #%brackets operator). A character set represents a set of Chars, but as long as the characters range in Unicode value from 0 to 255, a character set can be used as a set of bytes to match for a byte-mode regexp.
space | |
#true
#false
#true
regexp charset operator | |
| |
| |
regexp charset operator | |
| |
| |
regexp charset operator | |
|
#true
#true
#false
#true
regexp charset operator | |
| |
| |
|
#true
#true
regexp charset operator | |
| |
| |
|
#true
#true
#false
regexp charset operator | |
| |
| |
|
#false
#true
regexp charset operator | |
| |
| |
|
#false
#true
regexp charset operator | |
| |
| |
|
#false
#true
regexp charset operator | |
#true
#true
#true
#false
#true
#true
#false
#true
#true
regexp charset operator | |
#true
#false
#true
#false
#true
#false
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
| |
regexp charset operator | |
> rx'[unicode.Ll]'.is_match("λ")
#true
A compile-time value that identifies the same space as rx_charset. See also SpaceMeta.
definition | |
rx_charset.macro 'octal': '"0"-"7"'
rx_charset.macro 'maybe $charset': '$charset "?"'
syntax class | |
| |
syntax class | |
| |
| |
syntax class | |
|
Analogous to expr_meta.Parsed, etc., but for regexp character ranges.