Fix issue with regex routes, closes #36

Hi There,

Love the plugin. I'm having the same issue as described in issue #36. I've taken a stab at a change set to address it with a small test. Please let me know if I've missed something.

Regards,
Ned