Class | Parslet::Atoms::Re |
In: |
lib/parslet/atoms/visitor.rb
lib/parslet/atoms/re.rb |
Parent: | Object |
Matches a special kind of regular expression that only ever matches one character at a time. Useful members of this family are: character ranges, \w, \d, \r, \n, …
Example:
match('[a-z]') # matches a-z match('\s') # like regexps: matches space characters
match | [R] | |
re | [R] |