Path: | lib/parslet/atoms/re.rb |
Last Update: | Fri Jul 15 14:35:39 -0400 2016 |
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