aosingh / lexpy

Python package for lexicon; Trie and DAWG implementation.
GNU General Public License v3.0
55 stars 7 forks source link

Why the restriction on special chars in a wildcard pattern? #8

Open melsabagh opened 2 years ago

melsabagh commented 2 years ago

Why is the restriction on special chars in a wildcard pattern needed?

https://github.com/aosingh/lexpy/blob/b69e0297fc94fe51ea897d311f50230497eb6b93/lexpy/_utils.py#L14

aosingh commented 2 years ago

Thanks @melsabagh-kw

These were added in version 0.1 of lexpy. Maybe it does not make sense.

Let me think about this a bit and I will soon release a new version of lexpy where this will be addressed

aosingh commented 2 years ago

This is fixed in lexpy=1.0.0

pip install lexpy==1.0.0

Please test it and let me know if you have any questions.