Ponor added a comment.
I think you'll have better python - php compatibility if you simply switch from `re.search` to `regex.search`. regex is backwards-compatible with the standard re I see you already have it installed: `21:33:25 regex (/src/.tox/deeptest-py312/lib/python3.12/site-packages/regex) = 2.5.147` TASK DETAIL https://phabricator.wikimedia.org/T378787 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, Ponor Cc: Xqt, Ponor, Reedy, binbot, Aklapper, pywikibot-bugs-list, JJMC89, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, MayS, Mdupont, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
