About filtering using RegEx: I’m trying to filter and delete extraneous (for me) files in NZBs after loading into Newsbin, but before they begin downloading. It works pretty well, but here seems to be a glitch. My apologies if I’m simply overlooking something fundamental
With respect to video files, I don’t want to download .idx, .srr, .srs, or “sample” files. I followed Quade and dexter's suggestions, thank you, on using RegEx and the appropriate tools (like dubdubdub.regular-expressions.info and RegExBuddy). So, I can filter using Global “Subject” and/or “Filename” Reject to get rid of ALMOST everything I don’t want. The problem is with filtering “.par” and “.par2” files. The filter function in this case does not seem to apply to/function with “.par” and “.par2” files that contain “words/expressions” that are non-file extensions. Specifically, I am trying to knockout any and all files that contain anywhere the word “sample”. The RegEx filter “(?i)(sample)” works for non-par and non-par2 files, but the word “sample” is NOT recognized when in the subject or file name of a “.par” or “.par2” file and the files with the word "sample" in them end up either downloading or sitting idling in the “Downloading Files” queue. So, here are my filer expressions and results;
Don’t work for (recognize/filter)
Whereas these Regex’s:
Do work for (recognize/filter)
-[FULL]-[#a.b.teevee]-[ xxxx.S01E02.HDTV.x264-FTP ]-[06/41] - "xxx.s01e02.hdtv.x264-ftp.sample.mp4" yEnc
-[FULL]-[#a.b.teevee]-[ xxxx.S01E02.720p.HDTV.x264-FTP ]-[09/41] - "xxx.s01e02.720p.hdtv.x264-ftp.sample.srr" yEnc
Am I overlooking a feature, function or improper RegEx construction?
One other thing: There appear to be about 15 flavors of Regular Expression Syntax; e.g., .NET, Java, Perl, Python, JGsoft, Ruby, etc., so which one should I use?
Thankx for your time.