Today I tried to write the following recursive regex {(?:[^{}]|(?R))*} to find a json inside a string, but the std library re do not support this, then I install regex. But in pampy typing validation the pattern instance is checked against stdlib re.
elif isinstance(pattern, RegexPattern):
rematch = pattern.search(value)
if rematch is not None:
return True, list(rematch.groups())
Is possible to support a external library or will it against the project goal? If its possivel I can open a PR for this.
Today I tried to write the following recursive regex
{(?:[^{}]|(?R))*}
to find a json inside a string, but the std library re do not support this, then I install regex. But in pampy typing validation the pattern instance is checked against stdlib re.Is possible to support a external library or will it against the project goal? If its possivel I can open a PR for this.