fork(2) download
  1. import re
  2.  
  3. str = u"Peter went to the gym; \nhe worked out for two hours \nKyle ate lunch at Kate's house. Kyle went home at 9. \nSome other sentence here\n\u2022Here's a bulleted line"
  4.  
  5. print re.split(u'\n(?=\u2022|[A-Z])', str)
  6.  
Success #stdin #stdout 0.01s 6924KB
stdin
Standard input is empty
stdout
[u'Peter went to the gym; \nhe worked out for two hours ', u"Kyle ate lunch at Kate's house. Kyle went home at 9. ", u'Some other sentence here', u"\u2022Here's a bulleted line"]