Commit 1db0941
committed
Correct regular expression used to parse library.properties
Empty version constraints are supported by the Arduino library system (they match any version).
Previously, the regular expression used to split the library name from the version constraint caused these empty
constraints to incorrectly be considered invalid.depends field elements1 parent 10dd6a2 commit 1db0941
File tree
2 files changed
+2
-2
lines changed- internal/rule/rulefunction
- testdata/libraries/DependsIndexed
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1544 | 1544 | | |
1545 | 1545 | | |
1546 | 1546 | | |
1547 | | - | |
| 1547 | + | |
1548 | 1548 | | |
1549 | 1549 | | |
1550 | 1550 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
0 commit comments