Tighten up route selection

Recent change has ensured previously hidden routes are now visible but
now matches too broadly e.g. indexOf looking for ‘/movies’ would also
match ‘/moviescenes’ when it shouldn’t.

Using ‘search’ with a regular expression ensures we get only the routes
we want.
Merge pull request #4 from davidwaterston/master

Tighten up route selection