Re: regex question
- From: "J. Cooper" <nefigah@xxxxxxxxx>
- Date: Wed, 20 Feb 2008 15:41:49 -0500
Paul wrote:
You could try matching anything that's not a -, + or number in your
first
group, e.g.
([^-+0-9]*)
Note that I'm assuming Ruby uses Perl Compatible Regular Expressions
Cheers,
Paul
But then a message like:
"I'm 3 years old and have 80 points"
wouldn't come out right, correct?
--
Posted via http://www.ruby-forum.com/.
.
- References:
- regex question
- From: J. Cooper
- Re: regex question
- From: Paul
- regex question
- Prev by Date: win32ole, how to detect docfile is already opened ?
- Next by Date: Re: regex question
- Previous by thread: Re: regex question
- Next by thread: Re: regex question
- Index(es):
Relevant Pages
|