Re: preg_match() occurence position

From: Date: Thu, 25 Jul 2002 13:06:56 +0000
Subject: Re: preg_match() occurence position
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-109488@lists.php.net to get a copy of this message
on 25/07/02 11:05 PM, lallous (phplist@lgwm.org) wrote: > Yes, I'm aware of the strpos() or any other non-regexp string functions... > > but it is either I use regexp to match a certain pattern or I'll have to > write a char-by-char parser to emulate regexp searching and yet get the > position of the occurence! Actually, I've just written one of them, and they're not that hard, as long as the sub-set of what you want to do is limited. Justin French

« previous php.general (#109488) next »