tre
tre copied to clipboard
Fuzzy regular expressions in javascript with webasm
I made a crude version for javascript support with webasm, anyone interested in improving or desperate for this support can find my repo here.
I wrote javascript-code to conveniently process the C-output into a hierarchical structure of the capture groups for all matches. I assumed that I could determine the parent capture group as the one with the highest earlier index that completely surrounds the current capture group. Any validation on this would be nice.