[Pywikipedia-l] replacing based on two regexes not near each other