Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Regexp



Quoth Daniel Quimper (Wed 2004-05-05 06:24:39PM +0900):

> Seriously, I need to parse out a much longer string then just "abc". And
> looking at what you wrote, the regexp would be too long to be  
> implementable.

Do it in Perl, if you have the option:

$line !~ /abc/;

And if Perl is not an option, maybe you can still use it to generate the
ridiculous regexp that Dr. Turnbull (he *is* a Doctor of Regexpology,
you know)[1] spewed your way.

-Josh

[1] D:IAALB (Disclaimer: I Am A Lying Bastard)

-- 
Josh Glover

GPG keyID 0xDE8A3103 (C3E4 FA9E 1E07 BBDB 6D8B  07AB 2BF1 67A1 DE8A 3103)
gpg --keyserver pgp.mit.edu --recv-keys DE8A3103

Attachment: pgp00015.pgp
Description: PGP signature


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links