fork download
  1. import re
  2. old = 'regexregex'
  3. new = re.sub(r'regex(group|)regex', r'something\1something', old)
  4. print(new)
Success #stdin #stdout 0.02s 9016KB
stdin
Standard input is empty
stdout
somethingsomething