Add ability to capture variables in query strings

This commit is contained in:
Raphael Simon
2014-05-26 15:01:42 -07:00
parent 136d54f81f
commit 65cc9b5df8
4 changed files with 98 additions and 31 deletions

View File

@@ -735,7 +735,7 @@ func TestNewRegexp(t *testing.T) {
}
for pattern, paths := range tests {
p, _ = newRouteRegexp(pattern, false, false, false)
p, _ = newRouteRegexp(pattern, false, false, false, false)
for path, result := range paths {
matches = p.regexp.FindStringSubmatch(path)
if result == nil {