Skip to content

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

Description

@rbossy

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions