You are here: Re: Regular Expressions and The Regex Coach « PHP Programming Language « IT news, forums, messages
Re: Regular Expressions and The Regex Coach

Posted by Colin McKinnon on 05/20/06 17:24

a@b.com wrote:

> I'm a newbie needing to use some Regular Expressions in PHP.
>

And they are definitely worth learning.

> Can I safely use the results of my tests using 'The Regex Coach'
> (http://www.weitz.de/regex-coach/index.html)
>

hmmm, don't know.

> Are the Regular Expressions used in Perl identical to the Regular
> Expressions in PHP?

PHP has two different RE extensions - Posix and Perl compatible (PCRE). The
'Regex Coach' seems to work with the latter. They are very similar up to a
point. I've gone over to using POSIX RE's almost exclusively as Javascript
RE's works with the same syntax. The Wikipedia page on regular expressions
has some links to tools for playing with RE's in javascript.

HTH

C.

 

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

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