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

Make color parsing case insensitive #109

Merged
merged 2 commits into from
Dec 21, 2024
Merged

Make color parsing case insensitive #109

merged 2 commits into from
Dec 21, 2024

Conversation

raphlinus
Copy link
Contributor

The spec requires matching both lowercase and uppercase. The general solution is to copy the identifier into a temporary stack allocated buffer and do the case conversion there, before matching.

Fixes #105

The spec requires matching both lowercase and uppercase. The general
solution is to copy the identifier into a temporary stack allocated
buffer and do the case conversion there, before matching.

Fixes #105
@waywardmonkeys
Copy link
Collaborator

Can you add a quick changelog entry? It'll probably conflict with #108, but I don't mind merging this one first and then rebasing #108.

Copy link
Collaborator

@waywardmonkeys waywardmonkeys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM once there's a changelog entry.

@raphlinus raphlinus added this pull request to the merge queue Dec 21, 2024
Merged via the queue into main with commit 4f3b196 Dec 21, 2024
16 checks passed
@raphlinus raphlinus deleted the case_insensitive branch December 21, 2024 16:10
tomcur added a commit to tomcur/color that referenced this pull request Dec 21, 2024
github-merge-queue bot pushed a commit that referenced this pull request Dec 21, 2024
@waywardmonkeys waywardmonkeys added this to the 0.2.1 milestone Dec 21, 2024
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.

Mixed and uppercase idents
3 participants