Commit a7d56d6
fix compatibility with ancient perl by avoiding index in test
Perl 5.8.5 and older have bugs in the index function that prevent it
from matching a downgraded string to an upgraded string. Regex matches
don't suffer from the same bug, so we can use them instead and be
compatible with all relevant versions.1 parent 691334d commit a7d56d6
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| |||
0 commit comments