Fixing version regex to accept underscores