[bugfix] Recognize more than one escape sequences
[bugfix] Recognize more than one escape sequences

Change-Id: I0dfe6eac74bf66ba3827138c003ac38959b4b88d

wikimedia/pywikibot-core,wikimedia/pywikibot-core,PersianWikipedia/pywikibot-core