"(?s)(.*)<Foobar>".r.findAllIn("abcde\n fghij<Foobar>").matchData foreach { m => println(m.group(1)) }
}
b2JqZWN0IE1haW4gZXh0ZW5kcyBBcHAgewogICAiKD9zKSguKik8Rm9vYmFyPiIuci5maW5kQWxsSW4oImFiY2RlXG4gICAgZmdoaWo8Rm9vYmFyPiIpLm1hdGNoRGF0YSBmb3JlYWNoIHsgbSA9PiBwcmludGxuKG0uZ3JvdXAoMSkpIH0KfQ==