On 22 Jun 2001 17:11:42 -0400, Jeff 'japhy' Pinyan wrote: > On Jun 22, Bradford Ritchie said: > > >Does anyone know how to count the number of times a regex (global) > >matches? > > Either: > > $count += while /regex/g; <snip /> I think you meant: $count++ while /regex/g; or $count += 1 while /regex/g; or am I confused? -- Today is Pungenday, the 27th day of Confusion in the YOLD 3167
- Re: How do I determine number of matches in a regex? Brett W. McCoy
- Re: How do I determine number of matches in a reg... Bradford Ritchie
- Re: How do I determine number of matches in a... Brett W. McCoy
- Re: How do I determine number of matches ... Rogério Brito
- Re: How do I determine number of matc... Michael Fowler
- Re: How do I determine number of... Rogério Brito
- Re: How do I determine number of... Michael Fowler
- With perl, don't expect consistency (was ... Me
- Re: With perl, don't expect consisten... Brett W. McCoy
- Re: How do I determine number of matches in a regex? Jeff 'japhy' Pinyan
- Re: How do I determine number of matches in a reg... Chas Owens
- Re: How do I determine number of matches in a... Jeff 'japhy' Pinyan