fork(1) download
  1. object Main extends App {
  2. "(?s)(.*)<Foobar>".r.findAllIn("abcde\n fghij<Foobar>").matchData foreach { m => println(m.group(1)) }
  3. }
Success #stdin #stdout 0.36s 4382720KB
stdin
Standard input is empty
stdout
abcde
    fghij