Merge pull request #732 from cynicalgeek/add-D-Z0N3-match-SABnzbd-clean-script

Regex match for -D-Z0N3 in Clean script (SABnzbd)
pull/740/head
TRaSH 2 years ago committed by GitHub
commit 86853fcf04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -54,7 +54,7 @@ fwp = re.sub('(?i)\[ettv\]$', '', fwp)
fwp = re.sub('(?i)\[TGx\]-xpost$', '', fwp)
fwp = re.sub('(?i).mkv-xpost$', '', fwp)
fwp = re.sub('(?i)-xpost$', '', fwp)
fwp = re.sub(r'(\-[^-.\n]*)(\-.{4})?$', r'\1', fwp)
fwp = re.sub(r'(?i)(-D-Z0N3|\-[^-.\n]*)(\-.{4})?$', r'\1', fwp)
print("1") # Accept
print(fwp)

Loading…
Cancel
Save