I am trying to create a function (using python) that takes a string and return the same string but adding some labels to a match substring in that string using RegExp.