in reply to Regexp substitution on variable-length ranges with embedded code?
BUT you need to be sure that neither
Still I wouldn't choose to embed Perl into a regex to solve that.
That's only complicating things, because the complex logic would be only obfuscated
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
|---|