-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: make Matcher package self-contained
- Isolated Matcher functionality to remove external dependencies - Improved encapsulation to enhance modularity and ease of reuse
- Loading branch information
Showing
6 changed files
with
101 additions
and
78 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
namespace SubRenamer.Matcher; | ||
|
||
public class MatcherOptions | ||
{ | ||
/// <summary> | ||
/// Custom regex for extracting keys from video files. | ||
/// (If not set, the diff algorithm will be used) | ||
/// </summary> | ||
public string? VideoRegex { get; init; } | ||
|
||
/// <summary> | ||
/// Custom regex for extracting keys from subtitle files | ||
/// (If not set, the diff algorithm will be used) | ||
/// </summary> | ||
public string? SubtitleRegex { get; init; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters