Article View: gnu.misc.discuss
Article #73428Re: A Flex Bug?
From: Vern Paxson
Date: Wed, 18 Sep 1991 00:20
Date: Wed, 18 Sep 1991 00:20
19 lines
1359 bytes
1359 bytes
In article <35863@usc.edu> ajayshah@alhena.usc.edu (Ajay Shah) writes: > I have encountered what I think is a flex bug. > ... > %% > ^[ \t]+ | > [ \t]+$ ; > --------------------------------------------------------------------------- > > It can be rewritten without a "|"; one would just say ";" > instead. > > Both versions work fine with lex. The version with the ";" works > with flex but the version with a "|" fails with flex. This is indeed a bug. It's fixed in the pending 2.4 release, which won't be out till at least the beginning of next year, alas. If there's sufficient demand for the patch to fix it I'll supply it, but otherwise I'd rather wait. Vern
Technical Details
Message-ID:
<17649@dog.ee.lbl.gov>Path:
arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!dog.ee.lbl.gov!daffy.ee.lbl.gov!vernReferences:
<35863@usc.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1025b4,3421b73751f98913 X-Google-Attributes: gid1025b4,public X-Google-ArrivalTime: 1991-09-22 00:39:54 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!dog.ee.lbl.gov!daffy.ee.lbl.gov!vern From: vern@daffy.ee.lbl.gov (Vern Paxson) Newsgroups: gnu.misc.discuss Subject: Re: A Flex Bug? Message-ID: <17649@dog.ee.lbl.gov> Date: 18 Sep 91 00:20:32 GMT References: <35863@usc.edu> Reply-To: vern@daffy.ee.lbl.gov (Vern Paxson) Organization: Lawrence Berkeley Laboratory, Berkeley Lines: 19 X-Local-Date: Tue, 17 Sep 91 17:20:32 PDT