in reply to Deregex

But a qr already stringifies as a valid regexp. Unless your intent is to make something which can be passed back into qr, which is not the same thing, but that doesn't seem to be the case.

--
perl -pew "s/\b;([mnst])/'$1/g"

Replies are listed 'Best First'.
Re: Re: Deregex
by Dylan (Monk) on Aug 31, 2002 at 02:07 UTC
    It's for error messages, actually. "... doesn't match ..." type thing.