I tried it, and there is a funny thing. I was wondering, how this factory yields articles with more than 3 digits in title. I modified your expression first: gen = RegexFilterPageGenerator(PrefixingPageGenerator("kkStB"), r"kkStB [0-9]") and after it: gen = RegexFilterPageGenerator(PrefixingPageGenerator("kkStB"), r"kk") and the same list was generated in every case, as your one. So the outer generator seems useless.
2010/8/10 Merlijn van Deen <valhall...@arctus.nl> > > >>> gen = RegexFilterPageGenerator(PrefixingPageGenerator("kkStB"), r"kkStB > [0-9][0-9]?[0-9]?") > >>> for page in gen: > ... print page > ... > [[KkStB 1]] > [[KkStB 10]] > [[KkStB 105]] > [[KkStB 106]] > [[KkStB 108]] > [[KkStB 110]] > [[KkStB 110.500]] > [[KkStB 129]] > [[KkStB 14]] > [[KkStB 151]] > [[KkStB 166]] > [[KkStB 17]] > [[KkStB 179]] > [[KkStB 180]] > [[KkStB 180.500]] > [[KkStB 205]] > [[KkStB 206]] > [[KkStB 207]] > [[KkStB 210]] > [[KkStB 211]] > [[KkStB 229]] > [[KkStB 231]] > [[KkStB 27]] > [[KkStB 270]] > [[KkStB 306]] > [[KkStB 31.01–11]] > [[KkStB 310]] > [[KkStB 310.300]] > [[KkStB 32]] > [[KkStB 329]] > [[KkStB 378]] > [[KkStB 393]] > [[KkStB 4]] > [[KkStB 406]] > [[KkStB 46]] > [[KkStB 5]] > [[KkStB 506]] > [[KkStB 571]] > [[KkStB 6]] > [[KkStB 60]] > [[KkStB 7]] > [[KkStB 76 sorozatú szerkocsi]] > > > > -- Bináris
_______________________________________________ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l