Table 11-2. Special character classes | Expression | Meaning | | \w | Word characters: [a-zA-Z0-9_] (but \w is locale dependent) | | \d | Digits: [0-9] | | \s | [\f\t\n\r ] form-feed, tab, newline, carriage return and SPACE | | \W | [^\w] | | \D | [^\d] | | \S | [^\s] | | [:class:] | POSIX character classes (alpha, alnum...) | | \p{...} | Unicode definitions (IsAlpha, IsLower, IsHebrew, ...) |
See also perldoc perlre and
perldoc perluniintro
If you are interested in on-site trainings by the author, please
contact me directly.
|