some machines use multiples of .0001 inch, and some use whole inches if there is no decimal point.
This can lead to expensive crashes of machines. It is good practice to have a decimal point in most of our numbers, Everything else is a potential error.
I may need to add a \r to the (\s|\n) area on windows, but I don't know.
It will be invalid gcode to start the program with X.5 without something like a G01 in front of it,
So I didn't put any special consideration to the beginning of the file because There should always be an M command at the end and something else beginning
This is probably overkill back detecting the preceding character, as my syntax highlighter will likely use those characters to start a mode, and end on a space, so my single character will be validated for me before hand.