in reply to Re: Understanding this regex
in thread Understanding this regex

Simpler:

Sure, also riskier (more dangerous) :) also you didn't local-ize $^I

Also, '#' is the worst choice for a m//atch or s///ubstitution delimiter, it means you can't use # to comment your regular expression

Never use '#' '$' '@' and '\\' as delimiters, they're the worst possible choices