I'm trying to match a double. Here is my railroad diagram of how I want the RegEx to preform:
Here is the RegEx I'm attempting:
My issue is that the RegEx doesn't allow for the optional negative sign at the beginning of the number.Code:\d+(\.\d)?