-
Notifications
You must be signed in to change notification settings - Fork 178
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
Error on isdigit, isalpha, isspace with char > 127 #70
Comments
rurban
pushed a commit
to rurban/tiny-regex-c
that referenced
this issue
Jun 10, 2022
and fix isalpha crashes on bad libc's. Fixes GH kokke#70. e.g. UTF-8.
rurban
pushed a commit
to rurban/tiny-regex-c
that referenced
this issue
Jun 10, 2022
and fix isalpha crashes on bad libc's. Fixes GH kokke#70. e.g. UTF-8.
rurban
pushed a commit
to rurban/tiny-regex-c
that referenced
this issue
Jun 11, 2022
and fix isalpha crashes on bad libc's. Fixes GH kokke#70. e.g. UTF-8.
Closed
rurban
pushed a commit
to rurban/tiny-regex-c
that referenced
this issue
Jun 11, 2022
and fix isalpha crashes on bad libc's. Fixes GH kokke#70. e.g. UTF-8.
rurban
pushed a commit
to rurban/tiny-regex-c
that referenced
this issue
Jun 20, 2022
and fix isalpha crashes on bad libc's. Fixes GH kokke#70. e.g. UTF-8.
matyalatte
added a commit
to matyalatte/tiny-str-match
that referenced
this issue
Jul 4, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
The is*** functions to check if a char is a digit or space fail if you pass a char that's above 127.
https://en.cppreference.com/w/cpp/string/byte/isalpha
Depending on your compiler you might get an error. You can fix this by casting the value to
unsigned char
.Try and match this "Çüéâ" as ASCII.
The text was updated successfully, but these errors were encountered: