Actually it is, $count gets set to 1
In reply to Re: Re: Re: Getting the number of times a regexp matches by mirod in thread Getting the number of times a regexp matches by MeowChow