As for greediness: Scala uses Java's regex engine under the hood. Indeed, I usually have to go to Java's documentation for the Pattern class to remind myself of the fine details of how to use it. So it's pretty much identical there, and I've been learning the ins and outs of greediness as I write the parsers...
no subject