If I where you I'd change delimiter and try m{REGEX} instead of m/REGEX/
Completely agree.
When it was first recommended to me that I make this change, I thought it wouldn't make much difference. In fact it has had a significant effect on the legibility and maintainability of my code.
One of the many fabulous suggestions from the Monastery.
In reply to Re^2: Problem with regexp to match
by Bod
in thread Problem with regexp to match
by logangha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |