reg expr...

"Shoaib Ali BURQ" <shoaib@students.cs.mu.OZ.AU>
8 Sep 2002 22:49:06 -0400

          From comp.compilers

Related articles
reg expr... shoaib@students.cs.mu.OZ.AU (Shoaib Ali BURQ) (2002-09-08)
Re: reg expr... gwyn@thislove.dyndns.org (Gwyn Judd) (2002-09-11)
Re: reg expr... sarah@telergy.com (Sarah Thompson) (2002-09-11)
Re: reg expr... torbenm@diku.dk (Torben Ægidius Mogensen) (2002-09-12)
| List of all articles for this month |
From: "Shoaib Ali BURQ" <shoaib@students.cs.mu.OZ.AU>
Newsgroups: comp.compilers
Date: 8 Sep 2002 22:49:06 -0400
Organization: Computer Science, University of Melbourne
Keywords: lex, question
Posted-Date: 08 Sep 2002 22:49:05 EDT

Hi all,


I'm looking for a regular expression that say:


match the line that does not begin with the string {s}


now the way i see it ... if my s = "abc" then i will have to look for
(a & b) or (ab & not c) or (abc & not wht_spc) ...


but the longer the s the longer the reg expr ... is there another way to
do this?


thanks
------------------------
Shoaib Burq
http://www.cs.mu.oz.au/~shoaib


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.