Improve regex for finding existing routes