Hi EnzymeML dev team
When i tried to validate a json file against the schema in my software i struggled a little bit with the version regex in the schema.
It seems like there are too many"in the regex:
original regex: "\"^(\\d+)\\.\\d+$\""
my regex:"^(\\d+)\\.\\d+$"
I am not an expert in regexes (or exes in general ;) ) but it looks to me that the original regex will always fail because it looks for an " before the start of the word.
Best wishes
Fabian
Hi EnzymeML dev team
When i tried to validate a json file against the schema in my software i struggled a little bit with the version regex in the schema.
It seems like there are too many
"in the regex:original regex:
"\"^(\\d+)\\.\\d+$\""my regex:
"^(\\d+)\\.\\d+$"I am not an expert in regexes (or exes in general ;) ) but it looks to me that the original regex will always fail because it looks for an " before the start of the word.
Best wishes
Fabian