in reply to Re^3: Reusing a complex regexp in multiple spots, escaping the regexp
in thread Reusing a complex regexp in multiple spots, escaping the regexp
I can't follow...
I'm sure I could take Hauke's example and translate it 1to1 using 4 variables $INT, $HEX4, $QUOT, $SOMETHING without more lines and any change in readability.
I'd even argue it'll become better readable because interpolation is a much more common pattern.
And $INT is 3 characters shorter than (?&INT)
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
|
|---|