Perl itself uses exactly the same tricks to define the meanings of its "classic" character classes (like \w) when you include them in your own custom character classes (like [-.\w\s]).
I'd love to learn a new trick, and can't really make heads or tails of what that section is discussing. ;)
Dave
In reply to Re: japhy's regex article for the TPJ
by davido
in thread japhy's regex article for the TPJ
by japhy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |