in reply to Re^3: Tidying and simplifying a regular expression
in thread Tidying and simplifying a regular expression

> composition of relatively more complex regexes from simpler  qr//  components (via interpolation)

The "interpolation" part is surprising and irritating me here.

I was somehow expecting that an already compiled simpler regex doesn't need to be stringified and interpolated again.

But this approach is surely easier to achieve and most probably more robust.

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

  • Comment on Re^4: Tidying and simplifying a regular expression (interpolation)