| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -636,7 +636,7 @@ def _simplifyargs(argsline): | |||
| 636 | 636 | a.append(n) | |
| 637 | 637 | return ','.join(a) | |
| 638 | 638 | ||
| 639 | - crackline_re_1 = re.compile(r'\s*(?P<result>\b[a-z]+[\w]*\b)\s*[=].*', re.I) | ||
| 639 | + crackline_re_1 = re.compile(r'\s*(?P<result>\b[a-z]+\w*\b)\s*=.*', re.I) | ||
| 640 | 640 | ||
| 641 | 641 | ||
| 642 | 642 | def crackline(line, reset=0): | |
@@ -2605,7 +2605,7 @@ def analyzevars(block): | |||
| 2605 | 2605 | params = get_parameters(vars, get_useparameters(block)) | |
| 2606 | 2606 | ||
| 2607 | 2607 | dep_matches = {} | |
| 2608 | - name_match = re.compile(r'\w[\w\d_$]*').match | ||
| 2608 | + name_match = re.compile(r'[A-Za-z][\w$]*').match | ||
| 2609 | 2609 | for v in list(vars.keys()): | |
| 2610 | 2610 | m = name_match(v) | |
| 2611 | 2611 | if m: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments