On Mon, 7 May 2001, Jeff Pinyan wrote:
> You're also using \2 on the right-hand side (RHS) of a s///, which is not
> safe. You should use $2.
>
> s/^[A-Za-z]+_//;
>
> does far less work.
Yeah, I realized that after I already sent the reply. It's what I get for
popping off replies with insufficient amounts of coffee.
-- Brett
http://www.chapelperilous.net/btfwk/
------------------------------------------------------------------------
This week only, all our fiber-fill jackets are marked down!
- regexp trouble Johan Groth
- Re: regexp trouble Andrew Teo
- Re: regexp trouble Johan Groth
- Re: regexp trouble Tony Cook
- Re: regexp trouble Johan Groth
- Re: regexp trouble Paul
- Re: regexp trouble Brett W. McCoy
- Re: regexp trouble Dale Owens
- Re: regexp trouble Jeff Pinyan
- Re: regexp trouble Brett W. McCoy
- Re: regexp trouble Jeff Pinyan
