uri_match¶
-
asdf.util.uri_match(pattern, uri)[source]¶ Determine if a URI matches a URI pattern with possible wildcards. The two recognized wildcards:
“*”: match any character except /
“**”: match any character
- Parameters
- patternstr
URI pattern.
- uristr
URI to check against the pattern.
- Returns
- bool
Trueif URI matches the pattern.