Re: preg_match() occurence position

From: Date: Thu, 25 Jul 2002 14:51:06 +0000
Subject: Re: preg_match() occurence position
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-109495@lists.php.net to get a copy of this message
Yes, I've done it before too...but I saw some other libraries(in other programming langs) that has such features... "Justin French" <justin@indent.com.au> wrote in message news:B9663510.B4E2%justin@indent.com.au... > 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 (#109495) next »