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]
|