in reply to Re: Re^2: Chaining string ops
in thread Chaining string ops

Yes, you can do that, which creates a potentially huge alternation list for the regexp engine to swollow. I'm not sure that would be more efficient though, neither is it as clear.

Regex::PreSuf to the rescue!! It'll fix your efficiency problem, although it won't do much for readability :)
--
Mike