Skip to content

Commit

Permalink
Merge pull request #1 from Eryoneta/hotfix
Browse files Browse the repository at this point in the history
[FIX] Limites de V e R
  • Loading branch information
Eryoneta authored Jul 30, 2023
2 parents 2a1baba + 1c28199 commit 6aca7c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Functions/Functions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ Function GetFileItem($filePath) {
}
# Regex
$regexOfBaseName = ("(?<BaseName>.*?)");
$regexOfVersion = ("(?: ?" + ([Regex]::Escape($versionStart) + "(?<VersionIndex>[0-9]+)" + [Regex]::Escape($versionEnd)) + ")?");
$regexOfRemotion = ("(?: ?" + ([Regex]::Escape($remotionStart) + "(?<RemotionCountdown>[0-9]+)" + [Regex]::Escape($remotionEnd)) + ")?");
$regexOfVersion = ("(?: ?" + ([Regex]::Escape($versionStart) + "(?<VersionIndex>[0-9]{1,5})" + [Regex]::Escape($versionEnd)) + ")?");
$regexOfRemotion = ("(?: ?" + ([Regex]::Escape($remotionStart) + "(?<RemotionCountdown>[0-9]{1,5})" + [Regex]::Escape($remotionEnd)) + ")?");
$regexOfExtension = ("(?<Extension>\.[^\.]*)?");
$regexOfFile = ("^" + $regexOfBaseName + $regexOfVersion + $regexOfRemotion + $regexOfExtension + "$");
$regexOfFolderRemotion = ("(?: ?" + [Regex]::Escape($remotionFolder) + ")");
Expand Down

0 comments on commit 6aca7c4

Please sign in to comment.