-
Notifications
You must be signed in to change notification settings - Fork 21
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
aff-regex #18
Comments
What are you suggesting here? What's the desired behavior for definitely-wrong dictionary files? |
You are right - the problem is the affix file. |
@doublex Ugh, this is more complicated. It seems I've never encountered dictionaries with |
They are a rare (strange?) case. Maybe simply remove |
Surprisingly enough, this case, while indeed rare, made me rethink a bit why it is a problem... And simplify code for it not be it anymore :) |
Thanks a lot for all your efforts! |
This AFF (czech) contains a wrong regex:
https://github.com/wooorm/dictionaries/blob/main/dictionaries/cs/index.aff#L2119
Therefore this line fails
re.error: unterminated character set at position 36
https://github.com/zverok/spylls/blob/master/spylls/hunspell/data/aff.py#L266
The text was updated successfully, but these errors were encountered: