I have a question regarding the matcher. Currently I am trying to read a string and store all the digits into an array. My question is, how do you try to match both integers and
The phrase \d+ will match a string of numbers. So what about adding a dot between two of them? (\d+)|(\d+|\.\d+)
\d+
(\d+)|(\d+|\.\d+)