Dump the content of scalar variables/expressions that you want to match against with Devel::Peek, this will reveal what you call "hidden" characters.
In reply to Re: RegExp and hidden (not printable) characters.
by daxim
in thread RegExp and hidden (not printable) characters.
by humble
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |