fork(1) download
  1. p \
  2. arrayobj = <<-EOS.scan(/^#(?!#).*(?:\R(?!#(?!#)).*)*/)
  3.  
  4. # Bob's markdown header 1
  5.  
  6. something here.
  7.  
  8. ## this is markdown header 2
  9.  
  10. yeah.
  11.  
  12. # kitty's header 1
  13.  
  14. meow.
  15.  
  16. EOS
Success #stdin #stdout 0s 28224KB
stdin
Standard input is empty
stdout
["# Bob's markdown header 1\n\nsomething here.\n\n## this is markdown header 2\n\nyeah.\n", "# kitty's header 1\n\nmeow.\n\n"]