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

Split pattern using is_whitespace property instead of on ASCII space #65

Merged
merged 2 commits into from
Dec 7, 2024

Conversation

alexrutar
Copy link
Contributor

Fixes #64

As per the title, now the pattern_atoms method splits the pattern on any unescaped character with the Unicode whitespace property.

I've added documentation in matcher/libs.rs and added a few tests; is there anywhere else this should be documented? I guess to me the earlier documentation already sounds like it was using the Unicode whitespace property; now it is more explicit.

@alexrutar
Copy link
Contributor Author

Also fixed an unrelated clippy lint, I think this one was added quite recently.

@pascalkuthe
Copy link
Member

documentation LGTM, thanks!

@pascalkuthe pascalkuthe merged commit f64f3ee into helix-editor:master Dec 7, 2024
5 checks passed
@alexrutar alexrutar deleted the prompt-parse-split branch December 9, 2024 14:57
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.

Handling of Japanese keyboard 'Ideographic Space'
2 participants