You are here: Re: Using preg_replace to convert '<?php*?>' to nothing (removing all PHP code) « PHP Programming Language « IT news, forums, messages
Re: Using preg_replace to convert '<?php*?>' to nothing (removing all PHP code)

Posted by JDS on 09/06/05 23:21

On Fri, 02 Sep 2005 21:51:06 +0000, Gordon Burditt wrote:

> Offhand I'm having trouble finding documentation on the particular
> flavor of regular expressions PHP uses.

PHP uses a couple of different flavors

the preg_*() functions are Perl-compatible, meaning they use regex syntax
the way Perl uses regex syntax.

ereg_* is POSIX compliant, I believe

--
JDS | jeffrey@example.invalid
| http://www.newtnotes.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/

 

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

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