Skip to content
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

Bug when defining WordStart with wordChars argument #346

Closed
ptmcg opened this issue Dec 18, 2021 · 2 comments
Closed

Bug when defining WordStart with wordChars argument #346

ptmcg opened this issue Dec 18, 2021 · 2 comments

Comments

@ptmcg
Copy link
Member

ptmcg commented Dec 18, 2021

(Initially raised in Stack Overflow question https://stackoverflow.com/questions/70403306/pyparsing-issue-with-3-0-works-with-2-4-pyparsing.)

When WordStart is defined with a value given for word_chars argument, either without the argument name "word_chars" or with the argument name "wordChars", the default printables value is used by mistake. This is due to a bug in the PEP-8 compatibility logic for detecting word_chars or wordChars arguments. (Also affects WordEnd.)

@ptmcg
Copy link
Member Author

ptmcg commented Dec 18, 2021

Pushed fix, to be released in 3.0.7.

@ptmcg
Copy link
Member Author

ptmcg commented Jan 22, 2022

Released in 3.0.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant