Assume I have a Regex pattern I want to match many Strings to.
val Digit = \"\"\"\\d\"\"\".r
I just want to check whether a given String fu
I don't know Scala all that well, but it looks like you can just do:
"5".matches("\\d")