3 ms·
I rarely have trouble constructing or understanding RegExes, but I do have an awful time getting quoting correct and remembering which special characters have t
by plorg 11y ago
I rarely have trouble constructing or understanding RegExes, but I do have an awful time getting quoting correct and remembering which special characters have to be escaped in any one particular language.
- raiph 11y agoIn Perl 6 the regex character escaping rule is: > Alphanumeric characters and the underscore _ are literal matches. All other characters must either be escaped with a backslash (for example \: to match a colon), or included in quotes. From http://doc.perl6.org/language/regexes http://doc.perl6.org/language/regexes