in reply to Re^2: what does this regex do?
in thread what does this regex do?

Quote from self: in a eval statement probably, I don't know

eval " [...] s${regexpand}foobar/; [...] ";
This code wil validly substitute any of those three words at the beginning of a string and before a word boundary with 'foobar'. I see no reason for doing this but it is perfectly valid.
Unless I'm completely wrong of course :p

Replies are listed 'Best First'.
Re^4: what does this regex do?
by Roy Johnson (Monsignor) on Nov 07, 2005 at 22:26 UTC
    Oh, I see. When you said "use this as a regexp", you meant "use part of it as a regexp and part of it as a delimiter." Thanks for clarifying that.

    Caution: Contents may have been coded under pressure.
      I am sorry I apparently was not clear enough :)