reg expr...

"Shoaib Ali BURQ" <>
8 Sep 2002 22:49:06 -0400

          From comp.compilers

Related articles
reg expr... (Shoaib Ali BURQ) (2002-09-08)
Re: reg expr... (Gwyn Judd) (2002-09-11)
Re: reg expr... (Sarah Thompson) (2002-09-11)
Re: reg expr... (Torben Ægidius Mogensen) (2002-09-12)
| List of all articles for this month |

From: "Shoaib Ali BURQ" <>
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?

Shoaib Burq

Post a followup to this message

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