Commit e0aaed2
authored
better parsing to avoid bugs when variables name contain whitespaces (gijzelaerr#529)
* better parsing to avoid bugs when variables name contain whitespaces
* better way to parse
* join needed to use as a dict key
* needed to re-insert the whitespace
* function to test the whitespace compatibility
* multiple whitespaces support (with test)
* 'text' to "text"
* fixes whitespaces
* new name for not used variable
* fix to avoid regex being recompiled at each call
* erased useless whitespaces
* regex to parse specification
* check if match is not none
* pre-commit job fix
* pre -commit job fix
* whitespaces1 parent 63e1599 commit e0aaed2
2 files changed
+30
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
152 | 158 | | |
153 | 159 | | |
154 | 160 | | |
155 | | - | |
156 | | - | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
157 | 169 | | |
158 | 170 | | |
159 | 171 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
442 | | - | |
443 | 442 | | |
444 | 443 | | |
445 | 444 | | |
446 | 445 | | |
447 | 446 | | |
448 | 447 | | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
449 | 463 | | |
450 | 464 | | |
451 | 465 | | |
| |||
0 commit comments