so does this look right:
eregi
("username=champinoman&category=13.*align=\"right\">(.*)</td>"m,$line,$out))
is that where i am ment to put the 'm' modifier? or am i still off on the
wrong track?
"Graham Cossey" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> From http://gnosis.cx/publish/programming/regular_expressions.html:
>
> "Sometimes you have a programming problem and it seems like the best
> solution is to use regular expressions; now you have two problems."
>
> To me regular expressions are some kind of black art, I've been
> programming
> for 20 years and until recently have pretty much managed to avoid them.
> The
> above URL is a pretty good tutorial.
>
> HTH
>
> Graham
>
> -----Original Message-----
> From: champinoman [mailto:[EMAIL PROTECTED]
> Sent: 28 September 2004 09:35
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: grabbing information from websites
>
>
>
>> instead of the POSIX regexp, tr using PERL style RegExps
>> (www.php.net/pcre) Once you've done that, you can add the pattern
>> modifier
>> 'm' to allow multilines .
>
> i think im lost now. i had a look at the site but im not sure what im
> looking at. any chance u could make a mock script up so i can see what
> your
> explaining?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php