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

Tries should be allowed to match space with any whitespace #34

Open
rbossy opened this issue Jul 8, 2022 · 0 comments
Open

Tries should be allowed to match space with any whitespace #34

rbossy opened this issue Jul 8, 2022 · 0 comments

Comments

@rbossy
Copy link
Member

rbossy commented Jul 8, 2022

At the moment a space in the query will not match anything other than a space in the subject. This behavior prevents from matching a space with, for example, a newline character.

Solution:

Add to StandardMatchControl a property foldWhitespace. If set to true, then canonize() transforms any whitespace character into a space.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant