You didn't understand the query
How does yours compare to regexp on performance across many inputs?
Regexp is incredibly fast, I doubt yours comes anywhere close
and then there's the kicker, Ai are really good at crafting regexp, better than writing code to replace it, that's for sure
---
looks like the comment I am replying to has changed the link, it was this one: https://matchlang.com/docs/api/performance
Note to OP, use standard regexp benchmarks