You just need to ensure that the character encoding is correctly treated in your source. eg:
$ perl -Mutf8 -e 'print "Yes\n" if "a" =~ m§a§;' Yes $
See the docs for the utf8 pragma for more info on that. If your source is in some other encoding, now might be an excellent time to switch.
In reply to Re^2: Regex delimiter
by hippo
in thread Regex delimiter
by Outaspace
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |