title: Counting regex matches in Scala?
body: <p>In Scala I am trying to detemine the number of types a particular match is found (and it can occur several times in the same string). Namely, something that is of form "##/nnn-#" where # is a number <code>0-9</code> and n is a letter <code>A-Za-z</code> and - is a hiphen and / is a forward slash. </p>