Commit b7812ee
committed
Updating regex used to split sphinx version string.
The latest stable sphinx version string is '1.2+'.
The regex pattern '[a-z]' fails to match the '+' character
leading to a `ValueError` being raised when it attempts to
cast '2+' to an int. Replacing '[a-z]' with '[^0-9]' resolves this.1 parent 9be5ac4 commit b7812ee
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| |||
0 commit comments