Fixed regex to get the node version