with migration from python2 to python3 not all regexes where converted
to byte-array.
backport of b4bcf86f8e to 11.0
closes odoo/odoo#27252
with migration from python2 to python3 not all regexes where converted
to byte-array.
backport of b4bcf86f8e to 11.0
closes odoo/odoo#27252