fappy@flux[62] tmp > perl -e 'if( q{42} =~ /[:^digit:]/) {print "42 is + a digit\n"} else {print "42 is not a digit\n"}'; 42 is not a digit
Now the questions remainns, what did you really want to test?
In reply to Re: POSIX-Style character classes
by HuckinFappy
in thread POSIX-Style character classes
by sub_chick
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |