Re: [PHP] PHP and Prolog

2005-08-21 Thread Edin Kadibašić
Fernando Garza wrote: > Hi, > > I am creating a Shell in prolog language that interacts with a Visual Prolog > database format in Win32, I would like to interact with this database with > PHP, just like the interaction with MySQL database, can you give me some > notion or the code that need to

Re: [PHP] preg_match

2005-08-20 Thread Edin Kadibašić
Jasper Bryant-Greene wrote: > John Nichel wrote: > >> Personally, I have never used \\ in PCRE when looking for things like >> spaces (\s), word boundraries (\b), etc. and it's all worked out fine. > > > It will work fine, but only because those (\s and \b) just happen to not > be special charac

Re: [PHP] preg_match

2005-08-20 Thread Edin Kadibašić
Richard Lynch wrote: > But Perl isn't going to *SEE* \\s !!! > > PHP is going to *EAT* \\ and make \ out of it. > > That's why \ is an escape character in PHP. > > It's also an escape character in Perl/PCRE. > > Some days I think PHP's escape character should have been | or > something, just so