Updating unit regex