FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » CTYPE
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: CTYPE [message #182679 is a reply to message #182676] Mon, 26 August 2013 16:37 Go to previous messageGo to previous message
bill is currently offline  bill
Messages: 310
Registered: October 2010
Karma:
Senior Member
On 2013-08-26 4:29 AM, The Natural Philosopher wrote:
> On 26/08/13 09:25, Thomas 'PointedEars' Lahn wrote:
>> It should also be noted that (Perl-compatible) regular expressions are
>> included in one of the ten areas you need to be knowledgable in
>> (“Strings & Patterns”), in order to pass the Zend Certified Engineer
>> PHP 5.3 test:
>> <http://www.zend.com/services/certification/php-5-certification/>
>> PointedEars
> I've been coding PHP for about 5years now and C/Unix/linux for over 30
> and I have never ever found it worthwhile using complex regexps.
>
> There is always a simpler way to do it.
>

You, Fiver and Thomas all have strong backgrounds compared to mine, I'm
sure. It's not that I have an aversion to regex on any solid opinions of
my own, but a lot of material I've read and committed to disc, from both
aged and current opinions, suggest regex isn't the best way to go.
So I checked with my remote server support folks and they also wish a
lot of people would stop using regex type patterns as they're
time-intensive, more so than the alternatives. But at the same time they
say they'll never ask a customer to NOT use them as they have plenty of
cpu time available. So it wasn't exactly definitive, but at least they
did make the comments for me. oh; it was a phone call for what that's
worth, not support e-mail. I have several websites parked there too so I
get free extended support.

At any rate, since regex types are like learning another language for
me, I'm happy to rationalize that I'm doing the right thing by not using
them. Also, a lot of the newer things added to PHP's latest versions,
many seem to be aimed at being able to work without using regex type things.

Cheers,

Twayne`
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: korean character sets
Next Topic: Android app Developers requirements
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Sep 18 13:20:56 GMT 2024

Total time taken to generate the page: 0.05142 seconds