Fix ali sort
This commit is contained in:
parent
c1c2cafb3e
commit
2f7216560a
|
|
@ -196,6 +196,8 @@ public class Utils {
|
||||||
try {
|
try {
|
||||||
Matcher matcher = Pattern.compile(".*(1080|720|2160|4k|4K).*").matcher(text);
|
Matcher matcher = Pattern.compile(".*(1080|720|2160|4k|4K).*").matcher(text);
|
||||||
if (matcher.find()) text = matcher.group(1) + " " + text;
|
if (matcher.find()) text = matcher.group(1) + " " + text;
|
||||||
|
matcher = Pattern.compile("^([0-9]+)").matcher(text);
|
||||||
|
if (matcher.find()) text = matcher.group(1) + " " + text;
|
||||||
return text.replaceAll("\\D+", "");
|
return text.replaceAll("\\D+", "");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
return "";
|
return "";
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1 +1 @@
|
||||||
efad1ff3aa970692ffdb8dfd8b426193
|
b7edbdfee65700db639603bf47f3937f
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue