R-alpha: R-beta: regex
Ross Ihaka
ihaka@stat.auckland.ac.nz
Mon, 26 May 1997 10:05:43 +1200 (NZST)
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-