jenkins-bot has submitted this change and it was merged.
Change subject: Match 'score' in textlib ......................................................................
Match 'score' in textlib
cherry-picked from compat Ic69777f3db3c235380eabd778a5052403b0f8ce6
Change-Id: I68206e3dc4f22e333e69e5dfd8c3def4b3978566 --- M pywikibot/textlib.py 1 file changed, 1 insertion(+), 0 deletions(-)
Approvals: Mpaa: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/textlib.py b/pywikibot/textlib.py index 4492d8c..5eb0064 100644 --- a/pywikibot/textlib.py +++ b/pywikibot/textlib.py @@ -219,6 +219,7 @@ # preformatted text 'pre': re.compile(r'(?ism)<pre>.*?</pre>'), 'source': re.compile(r'(?is)<source .*?</source>'), + 'score': re.compile(r'(?ism)<score[ >].*?</score>'), # inline references 'ref': re.compile(r'(?ism)<ref[ >].*?</ref>'), 'template': NESTED_TEMPLATE_REGEX,