route processing regexps simplification