https://bz.apache.org/bugzilla/show_bug.cgi?id=70084
Rich Bowen <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|REOPENED |RESOLVED --- Comment #4 from Rich Bowen <[email protected]> --- Fixed in r1934878 (trunk) and r1934879 (2.4). The issue was that the negative lookahead (?!...) is zero-width and non-capturing — it asserts a condition but doesn't consume characters and produces no backreference. So $1 was always empty. The fix adds an explicit capturing group (.*)$ after the lookahead, so $1 now correctly contains the remainder of the URL-path. Thank you for the clear bug report and the two proposed fixes — you were spot on. Sorry for the false start on the first attempt. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
