in reply to Re: A (non) reg-ex question
in thread A (non) reg-ex question

The /e flag does not work on a regex. Instead, it's a flag that says the right hand side of a s///, which is a string, needs to be treated as code. The regex is the left hand side in s/// (or the whole thing in //).

Surely you must have been thinking of (?{CODE}) and friends? (See perlre)

Replies are listed 'Best First'.
Re^3: A (non) reg-ex question
by exussum0 (Vicar) on Mar 21, 2006 at 16:06 UTC
    Yeah, thanks. Whoops.