On Feb 14, 2008, at 09:07, Jim Jagielski wrote:

It's not even just that "there is a second substitution" but rather
that the pattern/regex being looked for could possibly be the
result of a previous substition.

If you have to subs like

     s/foo/bar/
     s/plum/apple/

there is no way one could affect the other (or depend
on the other) so flattening is not required.

Yes, I understand that, but I figured it would probably take longer to determine, on an arbitrary case, whether there was such an overlap, than to perform the flattening.

--
"She had a pretty gift for quotation, which is a serviceable substitute for wit."
W. Somerset Maugham


Reply via email to