For example, “/foo/bar/foo” matches “/foo/*”
“bar/foo” will be returned.
key_get2key_get2 returns value matched pattern
For example, “/resource1” matches “/:resource”
if the pathVar == “resource”, then “resource1” will be returned.key_get3key_get3 returns value matched pattern
For example, “project/proj_project1_admin/” matches “project/proj_{project}_admin/”
if the pathVar == “project”, then “project1” will be returned.key_matchkey_match determines whether key1 matches the pattern of key2 (similar to RESTful path), key2 can contain *
For example, “/foo/bar” matches “/foo/*”key_match2key_match2 determines whether key1 matches the pattern of key2 (similar to RESTful path), key2 can contain a *
For example, “/foo/bar” matches “/foo/*”, “/resource1” matches “/:resource”key_match3key_match3 determines whether key1 matches the pattern of key2 (similar to RESTful path), key2 can contain a *
For example, “/foo/bar” matches “/foo/*”, “/resource1” matches “/{resource}”key_match4KeyMatch4 determines whether key1 matches the pattern of key2 (similar to RESTful path), key2 can contain a *.
Besides what KeyMatch3 does, KeyMatch4 can also match repeated patterns:key_match5KeyMatch5 determines whether key1 matches the pattern of key2 (similar to RESTful path), key2 can contain a *
For example,regex_match