DB<100> $hello = "\n |\t\r"; => "\n |\t\r" DB<101> $hello =~ m/^[ \|\t\r\n]+$/ # matches => 1 DB<102> $hello =~ m/^[ |\t\r\n]+$/ # matches too => 1
Cheers Rolf
In reply to Re: left side of pattern matching
by LanX
in thread left side of pattern matching
by BeneSphinx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |