@wagenet there are also some other instances of `indexOf` in route recognizer that aren't related to my PR:

https://github.com/tildeio/route-recognizer/blob/master/lib/route-recognizer.js#L186
https://github.com/tildeio/route-recognizer/blob/master/lib/route-recognizer.js#L188