in reply to Re: string substitution within regular expressions?
in thread string substitution within regular expressions?

Thanks for your suggestions. In regards to your first answer using eval, isn't the e switch to regular expressions provide the same functionality?
  • Comment on Re^2: string substitution within regular expressions?

Replies are listed 'Best First'.
Re^3: string substitution within regular expressions?
by Roy Johnson (Monsignor) on Feb 08, 2005 at 23:42 UTC
    There is no e switch for regular expressions. The e switch is for substitutions, and applies to the replacement, not to the pattern.

    Caution: Contents may have been coded under pressure.