Parse a MAJOR.MINOR string into [major, minor]; null otherwise.
Deliberately strict: no patch component, no leading v, no whitespace.
Version strings are written by Luxar itself from the contract, so anything
else is a foreign or corrupt header, not a spelling to be lenient about.
Parse a
MAJOR.MINORstring into[major, minor];nullotherwise.Deliberately strict: no patch component, no leading
v, no whitespace. Version strings are written by Luxar itself from the contract, so anything else is a foreign or corrupt header, not a spelling to be lenient about.