Re: Everything between something becomes an array element
| From: | Andrey Hristov | Date: | Mon, 05 Nov 2001 21:12:56 +0000 |
| Subject: | Re: Everything between something becomes an array element | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-73483@lists.php.net to get a copy of this message | ||
Sorry
$how=preg_match_all('|\<tr>(.*?)</tr\>|',$the_big_string,$matches,PREG_SET_O
RDER);
is the correct I think
Excuses
On Monday 05 November 2001 08:57 am, you wrote:
> It gives me an error....:
>
> Warning: Compilation failed: nothing to repeat at offset 7 in
> c:\www\innocenti\teste.php on line 17
>
> I think that 'offset' is like a letter from the regex, but I could not fix
> it...