Update regex in updateMetaXml to support patch versions