R-alpha: R-beta: regex

Thomas Lumley thomas@biostat.washington.edu
Fri, 23 May 1997 12:17:28 -0700 (PDT)


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?


Thomas Lumley
------------------------------------------------------+-----
Biostatistics		: "Never attribute to malice what  :
Uni of Washington	:  can be adequately explained by  :
Box 357232		:  incompetence" - Hanlon's Razor  :
Seattle WA 98195-7232	:				   :
------------------------------------------------------------

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-