in reply to Re: Re: My regex is too greedy!
in thread My regex is too greedy!

If we're doing just a m// match then you are certainly right. I was using s///, so I needed to match the whole string to replace it.

blokhead

Replies are listed 'Best First'.
Re: Re: Re: Re: My regex is too greedy!
by Nkuvu (Priest) on Mar 05, 2003 at 19:50 UTC

    Gah. Sorry, I missed that you were still looking at the s///. For some reason I was thinking you had switched it to a m//.