Re: [R] regexp problem

2011-07-01 Thread David Winsemius
On Jul 1, 2011, at 11:02 AM, Rainer M Krug wrote: Hi I have a question concerning regexp - I want to select with grep all character strings which contain the numbers 11:20 (code below). At the moment I am using [], but that obviously does not work, as it matches each element in the []. Is t

Re: [R] regexp problem

2011-07-01 Thread Rainer M Krug
On Fri, Jul 1, 2011 at 5:08 PM, Gabor Grothendieck wrote: > On Fri, Jul 1, 2011 at 11:02 AM, Rainer M Krug wrote: > > Hi > > > > I have a question concerning regexp - I want to select with grep all > > character strings which contain the numbers 11:20 (code below). > > > > At the moment I am usin

Re: [R] regexp problem

2011-07-01 Thread Gabor Grothendieck
On Fri, Jul 1, 2011 at 11:02 AM, Rainer M Krug wrote: > Hi > > I have a question concerning regexp - I want to select with grep all > character strings which contain the numbers 11:20 (code below). > > At the moment I am using [], but that obviously does not work, as it matches > each element in t