Make sure that last-resort 101 number parser does not pick digits from large numbers (e.g. 1234567890 => null instead of 123)
@see https://www.filebot.net/forums/viewtopic.php?f=4&t=4194
This commit is contained in:
parent
28ac45ab03
commit
106fef7dd9
|
@ -151,7 +151,7 @@ public class SeasonEpisodeMatcher {
|
|||
};
|
||||
|
||||
// (last-resort) match patterns like 101, 102 (and greedily just grab the first)
|
||||
Num101_SUBSTRING = new SeasonEpisodePattern(STRICT_SANITY, "([1-9]{1})(\\d{2}).*") {
|
||||
Num101_SUBSTRING = new SeasonEpisodePattern(STRICT_SANITY, "(?<!\\p{Digit})(\\d{1})(\\d{2})(?!\\p{Digit})(.*)") {
|
||||
|
||||
@Override
|
||||
protected Collection<SxE> process(MatchResult match) {
|
||||
|
|
Loading…
Reference in New Issue