Closed b0d0nne11 closed 6 years ago
Any idea why tests fail on our CI?
I'm not sure yet. They pass locally and on Travis. Something to do with the guess encoding function.
Turns out cchardet
isn't available in our CI builds and the fallback detector isn't as good.
@b0d0nne11 I fixed our CI job to install cchardet
.
This change allows Unicode characters to be used in custom grammar checks. I tried to limit the changes by keeping the left-to-right
TokenStream
class and re-using the patterns from the main lexer where possible. This should close a bug where some addresses fromhotmail.fr
and the like dont parse correctly.