Re: regexps
| From: | 1LT John W. Holmes | Date: | Tue, 28 Jan 2003 16:34:56 +0000 |
| Subject: | Re: regexps | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-133396@lists.php.net to get a copy of this message | ||
> I need to use regular expressions, but i found that the current
> Perl-compaitable API unuseful in my case, infact i need to get the
positions
> of every match to the pattern and i found nothing in the Manual that does
> so, does any one know a way to do this (the only one i found is specific
to
> PHP 4.3.0)
You could match all of the strings and then use one of the other string
functions to find the position.
---John Holmes...