toRegExp method
Returns as a regular expression that matches this route.
Implementation
RegExp toRegExp() => RegExp(
'/?${path.replaceAll(_findParameters, r"((?:[\w'\.\-~!\$&\(\)\*\+,;=:@]|%[0-9a-fA-F]{2})+)")}');
Returns as a regular expression that matches this route.
RegExp toRegExp() => RegExp(
'/?${path.replaceAll(_findParameters, r"((?:[\w'\.\-~!\$&\(\)\*\+,;=:@]|%[0-9a-fA-F]{2})+)")}');