mirror of
https://github.com/Jackett/Jackett
synced 2025-01-02 21:26:08 +00:00
Cardigann: fix re_replace regex
This commit is contained in:
parent
16654d46df
commit
92fb27e188
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ namespace Jackett.Indexers
|
|||
|
||||
// handle re_replace expression
|
||||
// Example: {{ re_replace .Query.Keywords "[^a-zA-Z0-9]+" "%" }}
|
||||
Regex ReReplaceRegex = new Regex(@"{{\s*re_replace\s+(\..+?)\s+""(.+)""\s+""(.+?)""\s*}}");
|
||||
Regex ReReplaceRegex = new Regex(@"{{\s*re_replace\s+(\..+?)\s+""(.*?)""\s+""(.*?)""\s*}}");
|
||||
var ReReplaceRegexMatches = ReReplaceRegex.Match(template);
|
||||
|
||||
while (ReReplaceRegexMatches.Success)
|
||||
|
|
Loading…
Reference in a new issue