|We don't bite newbies here... much|
Re: Re: Re: quick question about parenthesis and regular expressionsby jreades (Friar)
|on Nov 04, 2003 at 13:32 UTC||Need Help??|
Ummm, I have no problem doing the substitution using the code supplied:
Of course, I might consider changing it slightly to read:
However, I did just discover that there is something more going on here, because while the original (without the \b) does set something in $1, my change doesn't (despite doing the substitution properly).
And finally, if you're just doing a match why are you using s///?