RE: [PHP] Re: Match anything between two " that is not a " exceptifitisescaped...
| From: | mathieu leddet | Date: | Thu, 17 Jan 2008 14:19:04 +0000 |
| Subject: | RE: [PHP] Re: Match anything between two " that is not a " exceptifitisescaped... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-267496@lists.php.net to get a copy of this message | ||
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:idler@instanceof.ru]
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