Update the regex to match versions 4+