Re: Puzzled about this regex

2009-04-17 Thread Chris Rebert
On Fri, Apr 17, 2009 at 7:17 PM, Jean-Claude Neveu wrote: > Hello, > > I wonder if someone could tell me where I am going wrong with my regular > expression, please. My regex only matches the text I'm looking for (a number > followed by a distance unit) when it appears at the beginning of the stri

Puzzled about this regex

2009-04-17 Thread Jean-Claude Neveu
Hello, I wonder if someone could tell me where I am going wrong with my regular expression, please. My regex only matches the text I'm looking for (a number followed by a distance unit) when it appears at the beginning of the string. But I am not using the ^ character (which would indicate th