You are here: Re: preg_match(): Compilation failed: regular expression too large « PHP Programming Language « IT news, forums, messages
Re: preg_match(): Compilation failed: regular expression too large

Posted by Clodoaldo Pinto on 12/16/59 11:57

Kimmo Laine wrote:
> "Clodoaldo Pinto" <clodoaldo.pinto@gmail.com> wrote in message
> news:1157404869.431371.54580@e3g2000cwe.googlegroups.com...
> > preg_match(): Compilation failed: regular expression too large at
> > offset 0
> >
> > The regular expression is 34,745 bytes long.
>
>
> That's not a regular expression, that's an Operating System... What the heck
> are you trying to do with it? Validate the Universe? :-)

That is for a SMF Spam Black List Mod:
http://www.simplemachines.org/community/index.php?topic=109614.0

I fixed it breaking the regexp into smaller pieces.

Regards, Clodoaldo Pinto

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация