fork(2) download
  1. import re
  2. mystr = 'HelloWorldToYou'
  3. pat = re.compile(r'([A-Z][a-z]*)')
  4. print pat.findall(mystr)
  5.  
Success #stdin #stdout 0.01s 7736KB
stdin
Standard input is empty
stdout
['Hello', 'World', 'To', 'You']