docs: def has_regex_namespace_name(self, namespace: str, name: str) -> bool:
          """Check that the namespace is defined as a regular expression and the name matches it."""
          return self.has_regex_namespace(namespace) and self.namespace_to_pattern[namespace].match(name)