Commit 1ef4dba
committed
fix: correct Pandora'sBox regex to handle all filename formats
The old regex captured .release as part of the version and swapped
mc/version for old-format filenames. The new regex uses greedy
(?:.*-)? to anchor version matching after the last hyphen delimiter,
and [2-9]\. to distinguish mod versions (>=2.0) from MC versions.1 parent 99e3aed commit 1ef4dba
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
628 | 628 | | |
629 | 629 | | |
630 | 630 | | |
631 | | - | |
| 631 | + | |
632 | 632 | | |
633 | 633 | | |
634 | 634 | | |
| |||
0 commit comments