@ctrl/video-filename-parser
Version:
A radarr style release name parser
9 lines (8 loc) • 323 B
TypeScript
import { type ParsedMatchCollection } from './common.js';
export interface SeasonPattern {
name: string;
regex: RegExp;
parse: (match: RegExpExecArray, simpleTitle: string) => ParsedMatchCollection | null;
}
export declare const seasonPatterns: SeasonPattern[];
export declare const rejectedPatterns: RegExp[];