Done in r8609. Thanks
----- Original Nachricht ---- Von: "Dr. Trigon" <[email protected]> An: Pywikipedia discussion list <[email protected]> Datum: 19.09.2010 00:06 Betreff: [Pywikipedia-l] Feature request for pagegenerators.RegexFilterPageGenerator > Hello all > > I'd like to suggest the code change given by the attached patch. > > The idea is to change RegexFilterPageGenerator a little bit. First > change the 'regex' param to a list of regex(es) instead of 1 single. > The whole list of regex will be checked for a positive match. The > second change involves a new parameter 'invert' which, if set to > True changes the generator from returning pages on ANY POSITIVE match > to return page on NO POSITIVE match AT ALL. This way a positive > (additive) and negative (subtractive) filter behaviour can be achieved. > > This would also be very helpful for my bot... ;) > > Thanks a lot and greetings > DrTrigon > > > -------------------------------- > > _______________________________________________ > Pywikipedia-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l > _______________________________________________ Pywikipedia-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
