in reply to Re: Problem with regexp to match
in thread Problem with regexp to match

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.