Regex Converter for Flask URL Routes