Commit 26522db7 authored by Stefan Behnel's avatar Stefan Behnel

allow single character variable/argument names (used a lot in Parsing.py, for example)

parent 87380faa
...@@ -102,10 +102,10 @@ method-rgx=[a-z_][a-z0-9_]{2,30}|visit_[A-Za-z]+$ ...@@ -102,10 +102,10 @@ method-rgx=[a-z_][a-z0-9_]{2,30}|visit_[A-Za-z]+$
attr-rgx=[a-z_][a-z0-9_]{2,30}$ attr-rgx=[a-z_][a-z0-9_]{2,30}$
# Regular expression which should only match correct argument names # Regular expression which should only match correct argument names
argument-rgx=[a-z_][a-z0-9_]{2,30}$ argument-rgx=[a-z_][a-z0-9_]{0,30}$
# Regular expression which should only match correct variable names # Regular expression which should only match correct variable names
variable-rgx=[a-z_][a-z0-9_]{2,30}$ variable-rgx=[a-z_][a-z0-9_]{0,30}$
# Regular expression which should only match correct list comprehension / # Regular expression which should only match correct list comprehension /
# generator expression variable names # generator expression variable names
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment