Perhaps I need to convert it to a quoted word for RegEx to work?
Blindly converting something that's already a string to a string is unlikely to help. You already know that the regex you provided works for the sample strings you provided. Find out what your data really looks like!
In reply to Re^3: Perl will not match my RegEx pattern....
by AnomalousMonk
in thread Perl will not match my RegEx pattern....
by FierceMoose
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |