Add more to the dub ignore regexp.

This commit is contained in:
Godzil 2020-04-27 22:33:16 +01:00
parent e8a7856e44
commit f25a62234c

View File

@ -25,9 +25,9 @@ export function localeToCC(locale: string): string
const dubignore_regexp: { [id: string]: RegExp; } = const dubignore_regexp: { [id: string]: RegExp; } =
{ {
en: /\(.*Dub(?:bed)?.*\)|(?:\(RU\))/i, en: /\(.*Dub(?:bed)?.*\)|(?:\(RU\))|\(Russian\)/i,
fr: /\(.*Dub(?:bed)?.*\)|(?:\(RU\))|\(?Doublage.*\)?/, fr: /\(.*Dub(?:bed)?.*\)|(?:\(RU\))|\(?Doublage.*\)|\(Russian\)?/,
de: /\(.*isch\)|\(Dubbed\)|\(RU\)/ de: /\(.*isch\)|\(Dubbed\)|\(RU\)|\(Russian\)/
}; };
export function get_diregexp(config: IConfig): RegExp export function get_diregexp(config: IConfig): RegExp