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.
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.