tre icon indicating copy to clipboard operation
tre copied to clipboard

Fuzzy regular expressions in javascript with webasm

Open prhbrt opened this issue 1 year ago • 1 comments

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.

prhbrt avatar Jun 19 '24 13:06 prhbrt