Comparing numbers with regex

Hi,

I wanted to share a plugin I made recently to generate regex for comparing numbers. I’m happy with how it turned out, considering that it wasn’t entirely trivial.

2 Likes

Do you think it could be useful to have it in C as an editor independent tool?

As it stands the shell script that does the regex generation is already editor independent, provided that they have mostly the same regex syntax. I don’t think writing it in C or another language would provide much benefit, with dash execution takes ~1ms.