Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix fnematch utf8 support #214

Merged
merged 1 commit into from Nov 20, 2023
Merged

Fix fnematch utf8 support #214

merged 1 commit into from Nov 20, 2023

Conversation

mpinjr
Copy link
Contributor

@mpinjr mpinjr commented Nov 15, 2023

Hello, hope everyone is doing well.

I offer this rewrite of fnematch as an alternative to #211 and #213 (it also addresses the problems reported by @millert in #212).

I started from the original, byte-oriented version. The result might even be easier to follow. There is no nested loop and offset indices have been dropped in favor of pointers.

Miguel

@millert
Copy link
Contributor

millert commented Nov 15, 2023

@mpinjr I find this version easier to follow, thanks.

@plan9 plan9 merged commit 546c2b5 into onetrueawk:staging Nov 20, 2023
@mpinjr mpinjr deleted the fix-fnematch branch January 12, 2024 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants