Tomasz Kłak
f48927253f
Named groups replaced with conditional wrapping of regexps
10 years ago
Shinya Kawaguchi
d17b93cab8
Refactoring for better performance
11 years ago
Shinya Kawaguchi
273db68971
Fix regexp syntax error caused by variable names containing any characters except letters, digits, and underscores
11 years ago
Kamil Kisiel
e73f183699
fix use of capturing subexpressions in pattern matches.
...
The router now associates a regexp named group with each mux variable.
It only fills variables when capturing group name match instead of
relying on indices, which doesn't work if a variable regexp has interior
capturing groups.
Fixes #62
11 years ago
Kamil Kisiel
ba336c9cfb
getUrlQuery: Use SplitN with a max of 2.
11 years ago
Bay Dodd
fe40f0d056
updating query match string
11 years ago
Bay Dodd
19f0a91c4e
adding test and updating condition
11 years ago
Bay Dodd
2b32409792
fix for empty query
11 years ago
Bay Dodd
0c9d5c08c1
refactoring
11 years ago
Bay Dodd
a710a8bfa9
adding ^ and $ to query pattern
11 years ago
Felipe Madrigal
d7e4639818
Rearrange rules for matching strict slash
11 years ago
Felipe Madrigal
8df3a80fb8
Rearrange getHost function
11 years ago
Raphael Simon
451fd8b779
Additional code cleanup (see comments on issue #56 )
12 years ago
Raphael Simon
69237eaae5
Fix "Queries" matcher to support out-of-order query string parameters
12 years ago
Raphael Simon
65cc9b5df8
Add ability to capture variables in query strings
12 years ago
Quinn Slack
cef3b0cd6d
Add BuildVarsFunc to allow modifying route variables before generating a route's URL
12 years ago
Thomas ten Cate
b864f07c53
Propagate StrictSlash to subrouters instead of rudely turning it off
12 years ago
moraes
eac83ba2c0
Initial files.
13 years ago