RE: [PHP] regexp questions

2010-05-14 Thread Ashley Sheridan
On Fri, 2010-05-14 at 22:01 +0200, Spud. Ivan. wrote: > > > Hi, > > > > I'm trying to insert a serialized data into mysql, but I does > mysql_real_escape_string() before inserting it. > > > > INSERT IGNORE INTO `table` (`value`) VALUES > ('a:3:{s:12:"F1";s:6:"nombre";s:11:"F2";s:5:"F3"

RE: [PHP] regexp questions

2010-05-14 Thread Spud. Ivan.
> From: spudm...@hotmail.com > To: php-general@lists.php.net > Date: Fri, 14 May 2010 22:01:09 +0200 > Subject: RE: [PHP] regexp questions > > > > > Hi, > > > > I'm trying to insert a serialized data into mysql, but I does >

RE: [PHP] regexp questions

2010-05-14 Thread Spud. Ivan.
Hi, I'm trying to insert a serialized data into mysql, but I does mysql_real_escape_string() before inserting it. INSERT IGNORE INTO `table` (`value`) VALUES ('a:3:{s:12:"F1";s:6:"nombre";s:11:"F2";s:5:"F3";s:16:"F4";s:10:"F5";}'); it result in INSERT IGNORE INTO `table` (`value`

Re: [PHP] regexp questions

2010-05-12 Thread Karl DeSaulniers
On May 12, 2010, at 11:20 AM, Ashley Sheridan wrote: On Wed, 2010-05-12 at 18:23 +0200, Spud. Ivan. wrote: Subject: RE: [PHP] regexp questions From: a...@ashleysheridan.co.uk To: spudm...@hotmail.com CC: php-general@lists.php.net Date: Wed, 12 May 2010 17:11:11 +0100 On Wed, 2010-05-12

RE: [PHP] regexp questions

2010-05-12 Thread Ashley Sheridan
On Wed, 2010-05-12 at 18:23 +0200, Spud. Ivan. wrote: > > > > > Subject: RE: [PHP] regexp questions > From: a...@ashleysheridan.co.uk > To: spudm...@hotmail.com > CC: php-general@lists.php.net > Date: Wed, 12 May 2010 17:11:11 +0100 > > On Wed, 2010-05-12

RE: [PHP] regexp questions

2010-05-12 Thread Spud. Ivan.
Subject: RE: [PHP] regexp questions From: a...@ashleysheridan.co.uk To: spudm...@hotmail.com CC: php-general@lists.php.net Date: Wed, 12 May 2010 17:11:11 +0100 On Wed, 2010-05-12 at 18:13 +0200, Spud. Ivan. wrote: > Date: Tue, 11 May 2010 15:38:41 -0700 > From: li...@cmsws.co

RE: [PHP] regexp questions

2010-05-12 Thread Ashley Sheridan
On Wed, 2010-05-12 at 18:13 +0200, Spud. Ivan. wrote: > > > > > Date: Tue, 11 May 2010 15:38:41 -0700 > > From: li...@cmsws.com > > To: spudm...@hotmail.com > > CC: php-general@lists.php.net > > Subject: Re: [PHP] regexp questions > > > > S

RE: [PHP] regexp questions

2010-05-12 Thread Spud. Ivan.
> Date: Tue, 11 May 2010 15:38:41 -0700 > From: li...@cmsws.com > To: spudm...@hotmail.com > CC: php-general@lists.php.net > Subject: Re: [PHP] regexp questions > > Spud. Ivan. wrote: > > > > I think we've not so much only with the regex, but maybe

RE: [PHP] regexp questions

2010-05-12 Thread Spud. Ivan.
> Subject: RE: [PHP] regexp questions > Date: Wed, 12 May 2010 11:11:07 +0100 > From: m.f...@leedsmet.ac.uk > To: spudm...@hotmail.com; php-general@lists.php.net > > > > > -Original Message- > > From: Spud. Ivan. [mailto:spudm...@hotmail.com] > &

RE: [PHP] regexp questions

2010-05-12 Thread Ford, Mike
> -Original Message- > From: Spud. Ivan. [mailto:spudm...@hotmail.com] > Sent: 11 May 2010 15:56 > To: php-general@lists.php.net > Subject: RE: [PHP] regexp questions > > > > hehe, but I can't find anything related to regexp. I've found >

Re: [PHP] regexp questions

2010-05-11 Thread Jim Lucas
Spud. Ivan. wrote: > > I think we've not so much only with the regex, but maybe you can tell me > somethin helpful ;) > > /Word1:<\/a><\/h4>\( href=\"http:\/\/www.thiswebsite.com\/some-script.php\">fir.*?st > word.*?(.*)Word2:<\/a><\/h4>(.*)Second > word:<\/a><\/h4>(.*)Word3:<\/a><\/h4>(.*)rd

RE: [PHP] regexp questions

2010-05-11 Thread Ashley Sheridan
On Tue, 2010-05-11 at 23:48 +0200, Spud. Ivan. wrote: > > > > > From: a...@ashleysheridan.co.uk > > To: spudm...@hotmail.com > > CC: php-general@lists.php.net > > Date: Tue, 11 May 2010 21:43:54 +0100 > > Subject: RE: [PHP] regexp questions > >

RE: [PHP] regexp questions

2010-05-11 Thread Spud. Ivan.
> From: a...@ashleysheridan.co.uk > To: spudm...@hotmail.com > CC: php-general@lists.php.net > Date: Tue, 11 May 2010 21:43:54 +0100 > Subject: RE: [PHP] regexp questions > > On Tue, 2010-05-11 at 22:45 +0200, Spud. Ivan. wrote: > > > > > I think we

RE: [PHP] regexp questions

2010-05-11 Thread Ashley Sheridan
On Tue, 2010-05-11 at 22:45 +0200, Spud. Ivan. wrote: > > I think we've not so much only with the regex, but maybe you can tell me > somethin helpful ;) > > /Word1:<\/a><\/h4>\( href=\"http:\/\/www.thiswebsite.com\/some-script.php\">fir.*?st > word.*?(.*)Word2:<\/a><\/h4>(.*)Second > word:<\/

RE: [PHP] regexp questions

2010-05-11 Thread Spud. Ivan.
I think we've not so much only with the regex, but maybe you can tell me somethin helpful ;) /Word1:<\/a><\/h4>\(fir.*?st word.*?(.*)Word2:<\/a><\/h4>(.*)Second word:<\/a><\/h4>(.*)Word3:<\/a><\/h4>(.*)rd word/is Thanks. I.Lopez. >> On 05/11/2010 09:56 AM, Spud. Ivan. wrote: > > But it

Re: [PHP] regexp questions

2010-05-11 Thread Shawn McKenzie
On 05/11/2010 09:56 AM, Spud. Ivan. wrote: > > But it doesn't explain why my regexps work fine within php 5.1 but 5.3 > > Ivan. > Post a regex and what you think it should match but doesn't. -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsub

RE: [PHP] regexp questions

2010-05-11 Thread Spud. Ivan.
4.3.0 The flags parameter was added But it doesn't explain why my regexps work fine within php 5.1 but 5.3 Ivan. >>>>>>>>> > -Original Message- > From: Spud. Ivan. [mailto:spudm...@hotmail.com] > Sent: 11 May 2010 01:2

RE: [PHP] regexp questions

2010-05-11 Thread Ford, Mike
> -Original Message- > From: Spud. Ivan. [mailto:spudm...@hotmail.com] > Sent: 11 May 2010 01:25 > To: php-general@lists.php.net > Subject: RE: [PHP] regexp questions > > > Is there any place where to read the changelog or something? Um, you mean, like,

RE: [PHP] regexp questions

2010-05-10 Thread Spud. Ivan.
Is there any place where to read the changelog or something? Thanks. >>> For example, the following regex doesn't work. return (bool) preg_match('/^[\pL\pN\pZ\p{Pc}\p{Pd}\p{Po}]++$/uD', (string) $str); Shiplu Mokadd.im ___

Re: [PHP] regexp questions

2010-05-10 Thread shiplu
For example, the following regex doesn't work. return (bool) preg_match('/^[\pL\pN\pZ\p{Pc}\p{Pd}\p{Po}]++$/uD', (string) $str); Shiplu Mokadd.im My talks, http://talk.cmyweb.net Follow me, http://twitter.com/shiplu SUST Programmers, http://groups.google.com/group/p2psust Innovation distinguis

[PHP] regexp questions

2010-05-10 Thread Spud. Ivan.
Hi, I've recently changed from php 5.1 to 5.3.2 and I'm havong problems with preg_match, because the same regular expressions used in php 5.1 are not matching anything in 5.3.2. There are any significant changes that I should know? I've been searching but I haven't found anything. Thanks.