in reply to Re^2: RegEx - match pattern not followed by literal
in thread RegEx - match pattern not followed by literal
Heh - yeah, looks like the single-regex solution is just too darned ugly (and I'd feel guilty handing that on to be maintained).
I'll stick with my original two regex solution (but implement that bastard Fletch's suggestion to swap the regexes and check for ,v$ first)
I guess I was just suprised that the reverse, /$users_regex,v$/, was so easy, but handling NOT ,v$ is so tricky...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: RegEx - match pattern not followed by literal
by ikegami (Patriarch) on Oct 12, 2006 at 15:57 UTC | |
by driver8 (Scribe) on Oct 13, 2006 at 07:00 UTC |