in reply to Re: help with regex
in thread help with regex

It's probably a nice addition but I find regexes that can work while leaving the original unmodified irksome. $test =~ s{^/+}{/} will work on /something and leave it identical. I would rather see $test =~ s{^//+}{/}; so the intent is clear and action is only taken when necessary.