Hi everyone,
I am struggling with regular expression trying to match strings
delimited by double quotes, but taking into consideration that \" is not
a string ending character.
---8<---
-
$in = 'this is a string : "Hi everyone my na
Thanks a lot Max (and Jochem), you solved my issue.
Cheers from Bordeaux in France !
--
Mathieu, learning everyday.
-Message d'origine-
De : Max Antonov [mailto:[EMAIL PROTECTED]
Envoyé : Thursday, January 17, 2008 12:36 PM
À : php-general@lists.php.net
Objet : Re: [PHP] Re: Match anyth
ge 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
Hi all,
I have a simple question : how can I ensure that 2 files are identical ?
How about this ?
8<--
function files_identical($path1, $path2) {
return (file_get_contents($path1) == file_get_contents($path2));
}
8
k [mailto:[EMAIL PROTECTED]
Envoyé : Wednesday, March 12, 2008 12:09 PM
À : php-general@lists.php.net
Objet : Re: [PHP] Comparing files
Quoting mathieu leddet <[EMAIL PROTECTED]>:
> Hi all,
>
> I have a simple question : how can I ensure that 2 files
5 matches
Mail list logo