in reply to Re: What's wrong with this regex
in thread What's wrong with this regex
Unfortunately four groups is not going to help, it should match anthing from 1.2 to 1.2.3.4.5.6 etc, or anything follows this structure.
To look for a substring matching [\d+\.]+ is also not an option, as there may be other matches in the string, like a simple number.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: What's wrong with this regex
by toolic (Bishop) on Mar 01, 2012 at 15:39 UTC | |
|
Re^3: What's wrong with this regex
by moritz (Cardinal) on Mar 01, 2012 at 15:54 UTC | |
|
Re^3: What's wrong with this regex
by Riales (Hermit) on Mar 01, 2012 at 15:46 UTC |