help with accept filter
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Mon Feb 25, 2013 11:27 pm
by pinhead
Running in Auto mode and wanted to get files that are posted in different resolution or formats. Like lets say,
My.Fav.files.volume1.chapter1.rar
My.Fav.files.volume1.chapter1.720p.rar
and only wanted to pickup the 720p version and the volume and chapter numbers would change.
Is that possible?
TY for any help.
Re: help with accept filter
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Mon Feb 25, 2013 11:44 pm
by Quade
I'd do: "My[.]Fav[.]files.*720p[.]rar"
Meaning it matches "My.Fav.Files<anything>720p.rar"
.* means anything. This is the easiest way.
Easiest way to test this is to type it into the "Find" box on a post list. It used the same mechanism.
You can do things like "S[0-9]E[0-9]"
"My[.]Fav[.]files.*S[1-9]E[0-9]{1,3}.*720p[.]rar"
E[0-9]{1,3} - matches "E0-E999"
You can be more precise later if you want to:
Then say you got season 1 already, you could set it to
"My[.]Fav[.]files.*S[2-9]E[0-9].*720p[.]rar"
You can make it even better with new RE's.
"[0-9][0-9]" Will match the number 00-99
[0-9] means "match a single number from 0 to 9. So, you can tweek it depending on what you're looking for.