Reply to Re: regular expression

Your name:

Reply:


Posted by Rik on 01/12/07 09:05

Michael Fesser wrote:
> .oO(Tim Streater)
>
>> In article <4587dc54$0$18460$e4fe514c@dreader31.news.xs4all.nl>,
>>
>> This is complete rubbish.
>
> No.
>
>> Regular expressions may be very clever but
>> lead to unreadable code.
>
> Unreadable would be the code that you would have to use for some
> particular problems if you would not use regexps. It's the power of
> them that lets you solve many problems with a single line of code.

And just use the /x modifier, and comment your regex as you would normal
code. Highly recommended for future readablity.

--
Rik Wasmus

[Back to original 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

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