in reply to Re^4: s///g within m//g regions
in thread s///g within m//g regions

> encourages "particularization" instead of generalization;

I like generalizations too.

I think the variations I showed are as general as possible and cover all use cases I could imagine.

Otherwise please provide an SSCCE ... ;-p

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery