2017-07-28, 21:41
(2017-07-28, 21:18)DanCooper Wrote: 2. The full used regex is [^\w\s]\s?(NotValidFileContains). That's the reason why ignoring of "Compilation le Monde Du Doublage Français.mkv" does not work (it begins with one of the words in the capturing group and that does not match the regex). But that looks like a bug. For me there is no reason to have a special char before the excluded words. But maybe that's an old regex that originally was created to ignore only trailer and sample files... and this files will always named like "avatar-trailer.mkv" or "avatar-sample.mkv". I will check an fix that if I can't find any issue results in changing that to a NotValidFileContains-only regex.
Yes please. You can remove the prefix of the capturing group and only use it when it is needed like this:
Code:
<Setting Section="*EmberAPP" Content="None" Name="NotValidFileContains" DefaultValue="">[^\w\s]\s?trailer|[^\w\s]\s?sample|doublage</Setting>