You are here: Re: PCRE sub-expressions matching « PHP Programming Language « IT news, forums, messages
Re: PCRE sub-expressions matching

Posted by Joshie Surber on 10/31/05 15:13

> Notice that all subexpressions are saved twice in the array. Can this
> be avoided?

Without trying it (never knew you could name them <sheepish grin>) I
would assume you could use (?:P<host>

On the other hand, however, does it really matter? Even if you are
looping, just do a quick test to see if the key is numeric

Also, the url_parse function does what you are looking for, and will do
it faster.

 

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

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