I\'m asking the user for input through the Scanner
in Java, and now I want to parse out their selections using a regular expression. In essence, I show them an enu
Pattern pattern = new Pattern(^([0-9]*\s+)*[0-9]*$)
Explanation of the RegEx:
This treats all of the following inputs as valid:
etc.