in reply to Re: Can't quite get this regex working
in thread Can't quite get this regex working
Generally where you are matching up to some expected character a negated character set is better than .*?. In this case ([^\[]*) would be appropriate.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Can't quite get this regex working
by moritz (Cardinal) on Apr 08, 2011 at 11:41 UTC | |
by JavaFan (Canon) on Apr 08, 2011 at 11:50 UTC | |
|
Re^3: Can't quite get this regex working
by ultranerds (Hermit) on Apr 08, 2011 at 11:37 UTC |