fork(2) download
  1. import re
  2. sentence = "open app store and maybe app marker here"
  3. pattern = re.compile(r'\b(app)\s+([a-z])', re.I)
  4. sentence = re.sub(pattern, r'\1\2', sentence)
  5. print(sentence)
Success #stdin #stdout 0.01s 23352KB
stdin
Standard input is empty
stdout
open appstore and maybe appmarker here