News for hackers. Stuff that matters.
Re:TRE: A Regex Engine with Approximate Matching by poorcedure on Tuesday November 06, 2018 @07:37PM (#18396218)
If memory serves, it returns the number of deletes/inserts/edits. So what you mention can still be handled.
Re:TRE: A Regex Engine with Approximate Matching by poorcedure on Tuesday November 06, 2018 @07:47PM (#18396264)
Nevermind, you can set the cost/max of each:

https://laurikari.net/tre/documentation/regaexec/