Skip to content

[6.1] Fix repeated case-insensitive ASCII match #801

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

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

natecook1000
Copy link
Member

Cherry pick of #797 for the swift/release/6.1 branch.

The optimized bytecode for matching repetition of a single character overlooks
case insensitivity. This resolves that by falling back to use an ASCII bitset
when doing a case-insensitive match of a cased character.

Fixes #785.
@natecook1000
Copy link
Member Author

@swift-ci Please test

@natecook1000 natecook1000 merged commit 464ddd5 into swift/release/6.1 Jan 16, 2025
3 checks passed
@natecook1000 natecook1000 deleted the swift61-repeated-case-insensitivity branch January 16, 2025 20:12
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.

2 participants