New regular expression to fix some cases.
Check version after parsing.
More test cases.