Fixed regexp pattern problem

* Previously, the `match-segment` fn for Keywords would lose the last character of a capture for wildcard-like matches/params: [#"(.*)" :path]
* Added test