From rafalku at gmail.com  Wed Jun 29 20:34:57 2005
From: rafalku at gmail.com (Rafal Kustra)
Date: Wed, 29 Jun 2005 14:34:57 -0400
Subject: [Rd] Objects and regex (PR#7970)
In-Reply-To: <x2d5q9ugft.fsf@turmalin.kubism.ku.dk>
References: <20050626175220.61398A20A@slim.kubism.ku.dk>
	<x2d5q9ugft.fsf@turmalin.kubism.ku.dk>
Message-ID: <62a2e65d05062911346c11b8a1@mail.gmail.com>

No bug, mystery solved. My fault.

I got 'generateSigma' when trying to match for "^genes?" not "^genes?$".

I keep forgetting '?' stands for '0 or more of prec. char' not for
'any char' as in shell.

best,
rafal



-------------------------------------------------------------------------------------------------------------------



On 26 Jun 2005 20:21:58 +0200, Peter Dalgaard <p.dalgaard at biostat.ku.dk> wrote:
> rafalku at gmail.com writes:
> 
> > Full_Name: Rafal Kustra
> > Version: 2.1.0
> > OS: Linux
> > Submission from: (NULL) (64.229.198.89)
> >
> >
> > objects(pattern="^genes?$") returns "generateSigma" among other legal things.
> 
> Not on my 2.1.1:
> 
> > generateSigma <-1
> > objects(pattern="^genes?$")
> character(0)
> > objects(pattern="^genes?")
> [1] "generateSigma"
> 
> So. on what system did this happen?
> 
> --
>    O__  ---- Peter Dalgaard             ?ster Farimagsgade 5, Entr.B
>   c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
>  (*) \(*) -- University of Copenhagen   Denmark          Ph: (+45) 35327918
> ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)                  FAX: (+45) 35327907
>



[Rd] Objects and regex (PR#7970)
Rafal Kustra