ForbesLindesay / express-route-tester

Attempts to give you an idea of what urls will be accepted by an express route (please fork and extend it)

Home Page:http://forbeslindesay.github.com/express-route-tester/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JS Error on patterns with brackets

georgir opened this issue · comments

If you have brackets in the pattern, that results in a capture group whose key name is a number instead of a string. Then the escape() function chokes on trying to call replace function on the number.

This is fixed in #11