good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Re: Re: Re: Re: Regex refresher (help?)by charnos (Friar) |
on Sep 13, 2002 at 12:44 UTC ( [id://197539]=note: print w/replies, xml ) | Need Help?? |
g'ah! I know it's no excuse, but I was on my way out from work when I posted, and for some reason got it stuck in my head that the outer ()* would only match repetition, i.e. 0 could be matched, but if you matched the leading 0, then the next match would have to be 0. Likewise if the pattern matched 11, it would have to match from the right side of the | again. *sigh* ++zakb, I needed that. :P
In Section
Meditations
|
|