mikehaertel / minrx

Minimal matcher for POSIX Extended Regular Expressions
GNU Lesser General Public License v3.0
3 stars 2 forks source link

Move to charset API #22

Closed arnoldrobbins closed 3 days ago

arnoldrobbins commented 1 week ago

This change moves to the charset API for bracket expressions and dot. Timing seems to be comparable to the main branch and to the original setsearch API.

Additionally, I have (locally) dropped this into the feature/minrx branch of gawk and it passes all tests.

Your review is welcome. In particular, I've added REG_ICASE handling for collating sequences and equivalence classes, since I think that's the right thing to do, but I'm open to discussion.