Approximate regular expression with a constraint on percentage of errors

103 Views Asked by At

The approximate regular expression such as the one at https://pypi.org/project/regex/ allows the use of a threshold on the total number of errors (insertions, deletions, substitutions). For example (?:foo){e<=2} allows matches with at most two errors. The threshold here is specified as the total number of errors. Is there any package that allows me to specify percentage of errors, instead of total errors?

0

There are 0 best solutions below