T
toylet
Why does it match "^"? Doesn't [^] mean "not a caret"?
the program I used:
while (<>) {
/[^\^]/ && print "not a caret\n";
}
I inputted "^", and the message printed.
the program I used:
while (<>) {
/[^\^]/ && print "not a caret\n";
}
I inputted "^", and the message printed.