mirror of
https://github.com/mitb-archive/filebot
synced 2025-01-11 13:58:16 -05:00
Use static Pattern
This commit is contained in:
parent
34e20b5f47
commit
9c1b19d43f
@ -338,7 +338,7 @@ public class MediaBindingBean {
|
|||||||
String codec = getMediaInfo(StreamKind.Audio, 0, "CodecID/Hint", "Format");
|
String codec = getMediaInfo(StreamKind.Audio, 0, "CodecID/Hint", "Format");
|
||||||
|
|
||||||
// remove punctuation (e.g. AC-3 => AC3)
|
// remove punctuation (e.g. AC-3 => AC3)
|
||||||
return codec.replaceAll("\\p{Punct}", "");
|
return PUNCTUATION_OR_SPACE.matcher(codec).replaceAll("");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Define("cf")
|
@Define("cf")
|
||||||
|
Loading…
Reference in New Issue
Block a user