Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #10632

Re: CTYPE

From Twayne <nobody@spamcop.net>
Newsgroups comp.lang.php
Subject Re: CTYPE
Date 2013-08-26 12:37 -0400
Organization Aioe.org NNTP Server
Message-ID <kvg08q$mim$1@speranza.aioe.org> (permalink)
References (1 earlier) <b7v18bFpg13U1@mid.individual.net> <kvdlrv$si2$1@speranza.aioe.org> <kvdq7d$di5$1@dont-email.me> <36252518.rups8K45Uv@PointedEars.de> <kvf3ke$ajg$1@news.albasani.net>

Show all headers | View raw


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`

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

CTYPE Twayne <nobody@spamcop.net> - 2013-08-25 13:51 -0400
  Re: CTYPE Richard Yates <richard@yatesguitar.com> - 2013-08-25 11:21 -0700
    Re: CTYPE Twayne <nobody@spamcop.net> - 2013-08-25 15:00 -0400
      Re: CTYPE Richard Yates <richard@yatesguitar.com> - 2013-08-25 12:05 -0700
  Re: CTYPE "J.O. Aho" <user@example.net> - 2013-08-25 20:38 +0200
    Re: CTYPE Twayne <nobody@spamcop.net> - 2013-08-25 15:28 -0400
      Re: CTYPE Richard Yates <richard@yatesguitar.com> - 2013-08-25 13:16 -0700
        Re: CTYPE Twayne <nobody@spamcop.net> - 2013-08-26 11:49 -0400
      Re: CTYPE Christoph Michael Becker <cmbecker69@arcor.de> - 2013-08-25 22:19 +0200
        Re: CTYPE Twayne <nobody@spamcop.net> - 2013-08-26 12:15 -0400
      Re: CTYPE Fiver <numeralfive@gmail.com> - 2013-08-25 22:42 +0200
        Re: CTYPE Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-08-26 10:25 +0200
          Re: CTYPE The Natural Philosopher <tnp@invalid.invalid> - 2013-08-26 09:29 +0100
            Re: CTYPE Twayne <nobody@spamcop.net> - 2013-08-26 12:37 -0400
  Re: CTYPE Norman Peelman <npeelman@cfl.rr.com> - 2013-08-25 15:11 -0400
    Re: CTYPE Tim Streater <timstreater@greenbee.net> - 2013-08-25 23:04 +0100
  Re: CTYPE THREAD RESOLVED Twayne <nobody@spamcop.net> - 2013-08-25 15:35 -0400
    Re: CTYPE THREAD RESOLVED Fiver <numeralfive@gmail.com> - 2013-08-26 20:07 +0200
      Re: CTYPE THREAD RESOLVED The Natural Philosopher <tnp@invalid.invalid> - 2013-08-26 20:19 +0100
        Re: CTYPE THREAD RESOLVED Fiver <numeralfive@gmail.com> - 2013-08-26 22:51 +0200
          Re: CTYPE THREAD RESOLVED Jerry Stuckle <jstucklex@attglobal.net> - 2013-08-26 16:57 -0400
            Re: CTYPE THREAD RESOLVED Twayne <nobody@spamcop.net> - 2013-08-27 17:20 -0400
              Re: CTYPE THREAD RESOLVED Jerry Stuckle <jstucklex@attglobal.net> - 2013-08-27 19:47 -0400
          Re: CTYPE THREAD RESOLVED Tim Streater <timstreater@greenbee.net> - 2013-08-26 22:07 +0100
        Re: CTYPE THREAD RESOLVED Twayne <nobody@spamcop.net> - 2013-08-28 08:49 -0400
      Re: CTYPE THREAD RESOLVED Twayne <nobody@spamcop.net> - 2013-08-27 17:18 -0400

csiph-web