Fix #1205 -- parsing issue when using :provides with a Regexp route.