Relax the syntax of versions to better parse more versions