RE: [PHP] Re: Match anything between two that is not a exceptifitisescaped...

2008-01-17 Thread mathieu leddet
Yes Jochem, I *now* know what lookbehind and lookahead assertions are. I 
think I am *now* able to use them when needed.

Max, thanks for the link.


--
Mathieu

  
 ||
 _|  |_
/  \
|  |
|  |
|  |
|  |
|  |
|  |
|__| ;)


-Message d'origine-
De : Max Antonov [mailto:[EMAIL PROTECTED] 
Envoyé : Thursday, January 17, 2008 3:04 PM
À : php-general@lists.php.net
Objet : Re: [PHP] Re: Match anything between two  that is not a  
exceptifitisescaped...

Jochem Maas :
 mathieu leddet schreef:
 Thanks a lot Max (and Jochem), you solved my issue.


 PS - you solved the issue but did you learn what a [negative] look 
 behind assertion is?
Mathieu, I agree with Jochem.
If you periodicaly solve issues, such this - you must know about behind 
assertions in pcre.

I ask google, and google give me good manual.

http://www.pcre.org/pcre.txt

open this page and use brouser search interface to find section PCREPATTERN
or
PCRE REGULAR EXPRESSION DETAILS

it is best manual about PCRE (IMHO)

But I don't know - is php pcre fully compatible with pcre library.
Also see documentation in php.net :)

-- 
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



Re: [PHP] Re: Match anything between two that is not a exceptifitisescaped...

2008-01-17 Thread Jochem Maas

mathieu leddet schreef:

Yes Jochem, I *now* know what lookbehind and lookahead assertions are. I 
think I am *now* able to use them when needed.



yeah! (give a man a fish he eats for a day, teach him how to fish and he'll eat 
forever - or until
he empties the north sea [in the case of dutch fishermen :-(])


Max, thanks for the link.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php