[pywikibot] Re: Use re.fullmatch instead of $ at the end of regex