Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fixed a problem with Python #9

merged 1 commit into from Jun 28, 2012


None yet
2 participants

abravetti commented Jun 13, 2012

Fix a problem with variable name that start with def or class like "def_it_is_not_a_def = False".


abravetti commented Jun 13, 2012

May be '\s+' is better than ' \s*' but the result is the same...

@HTD HTD added a commit that referenced this pull request Jun 28, 2012

@HTD HTD Merge pull request #9 from abravetti/patch-1
Fixed a problem with Python

@HTD HTD merged commit 868355c into HTD:testing Jun 28, 2012


HTD commented Jun 28, 2012

BTW " \s_" = "\s+", it's the reason it didn't work in the first place. "def_not" matches "def\s_(.)" but doesn't match "def\s+(.)". So without the space "\s*" there was a bug. If this expression didn't work like this I would be surprised.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment