[Pywikipedia-l] Regex help needed

Marcin Cieslak saper at saper.info
Tue Jun 28 11:28:06 UTC 2011


> Yes, this is definitely an option, I just would like to know if there is a =
> way to unify them. I think increasing the number of lines in a fix will slo=
> w down the bot more than increasing the complexity of the existing lines, a m I right?

Given the speed of fetching/storing pages I don't think that speed of the
regular expression makes any difference. Running two compiled RE's
one after the other in sequence on the page text should be very fast.

//Saper




More information about the Pywikipedia-l mailing list