intent: replacing all regex matches in single line
rewritten_intent: match string 'this is my string' with regex '\\b(this|string)\\b'
  then replace it with regex '<markup>\\1</markup>'
snippet: re.sub('\\b(this|string)\\b', '<markup>\\1</markup>', 'this is my string')