in reply to regex grouping issue
Erm, [^(?:index\.cfm|browse)([\d\w]*)] doesn't mean what you think it means. You're conflating a complemented character class with negative lookahead; look in perlre for (?!).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: regex grouping issue
by nmerriweather (Friar) on Aug 31, 2006 at 19:21 UTC | |
by japhy (Canon) on Aug 31, 2006 at 20:28 UTC |