[FIX] mail: emojis: replace all occurences of the emoji in messages
[FIX] mail: emojis: replace all occurences of the emoji in messages

The problem was that, when substituting the emoji pattern by the emoji icon,
we only replaced the first occurence of the pattern.

This rev. replaces all occurences of the pattern by performing a global match
('g' option), and correctly handles matches overlap by using a lookahead
assertion ('x(?=y)') instead of basic non-capturing parentheses ('x(?:y)').

hip-odoo/odoo,stephen144/odoo,dfang/odoo,storm-computers/odoo,bplancher/odoo,microcom/odoo,sysadminmatmoz/OCB,storm-computers/odoo,stephen144/odoo,dfang/odoo,dfang/odoo,sysadminmatmoz/OCB,syci/OCB,laslabs/odoo,sysadminmatmoz/OCB,sysadminmatmoz/OCB,ygol/odoo,ygol/odoo,bplancher/odoo,Elico-Corp/odoo_OCB,microcom/odoo,Elico-Corp/odoo_OCB,stephen144/odoo,microcom/odoo,bplancher/odoo,bplancher/odoo,stephen144/odoo,syci/OCB,sysadminmatmoz/OCB,hip-odoo/odoo,dfang/odoo,syci/OCB,laslabs/odoo,optima-ict/odoo,ygol/odoo,laslabs/odoo,dfang/odoo,hip-odoo/odoo,storm-computers/odoo,laslabs/odoo,syci/OCB,ygol/odoo,storm-computers/odoo,ygol/odoo,Elico-Corp/odoo_OCB,microcom/odoo,storm-computers/odoo,bplancher/odoo,hip-odoo/odoo,optima-ict/odoo,bplancher/odoo,storm-computers/odoo,ygol/odoo,syci/OCB,microcom/odoo,stephen144/odoo,Elico-Corp/odoo_OCB,laslabs/odoo,optima-ict/odoo,sysadminmatmoz/OCB,laslabs/odoo,stephen144/odoo,syci/OCB,sysadminmatmoz/OCB,hip-odoo/odoo,hip-odoo/odoo,Elico-Corp/odoo_OCB,Elico-Corp/odoo_OCB,optima-ict/odoo,microcom/odoo,optima-ict/odoo,dfang/odoo,ygol/odoo,optima-ict/odoo