From ihaka@stat.auckland.ac.nz  Sun May 25 23:05:43 1997
From: ihaka@stat.auckland.ac.nz (Ross Ihaka)
Date: Mon, 26 May 1997 10:05:43 +1200 (NZST)
Subject: R-alpha: R-beta: regex
In-Reply-To: <Pine.SUN.3.95.970523121557.25867B-100000@data>
References: <x2k9krh1hb.fsf@bush.kubism.ku.dk>
 <Pine.SUN.3.95.970523121557.25867B-100000@data>
Message-ID: <199705252205.KAA01001@stat1.stat.auckland.ac.nz>

Thomas Lumley writes:
 > On 22 May 1997, Peter Dalgaard BSA wrote:
 > 
 > > > > grep("([A-Za-z][^:]*):\\1","Ac:Ac",value=T)
 > > > character(0)
 > 
 > > I strongly suspect that no number of \s will make it work as long as
 > > do_grep() in main/character.c contains this line:
 > > 
 > >         eflags = REG_NOSUB; 
 > 
 > Is this a feature? If so, can it at least be made optional?

I have changed it to:

	eflags = 0;

Ross
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


R-alpha: R-beta: regex
Ross Ihaka