in reply to Re^2: How do I avoid double substitution when replacing many patterns?
in thread How do I avoid double substitution when replacing many patterns?
You could change
to(?: | ( \( ) )
... unless you get queasy when you see quantifiers placed on capturing groups.( \( )?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: How do I avoid double substitution when replacing many patterns?
by diotalevi (Canon) on Jan 20, 2007 at 19:02 UTC |
In Section
Seekers of Perl Wisdom