You are here: Re: php and regex (why no =~ like perl)? « PHP Programming Language « IT news, forums, messages
Re: php and regex (why no =~ like perl)?

Posted by Andy Hassall on 10/22/19 11:20

On 4 Jul 2005 09:33:56 -0700, el_roachmeister@yahoo.com wrote:

>Also there seems to be several functions to do regex in php. I am not
>sure which will even be supported in future releases?

There's two main sorts. The POSIX-compatible ones, e.g. ereg. These come with
a warning to use the other sort, the Perl-compatible ones (PCRE), preg_replace
etc. What makes you think either will be removed in a future release anyway?

(BTW, use the PCRE ones).

--
Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool

 

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

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