Check if named route path is RegExp or String. Fixes #72.
3.2.3