in reply to left side of pattern matching
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 [download]
Cheers Rolf