Automatic merge from submit-queue (batch tested with PRs 43373, 41780, 44141, 43914, 44180) Updated comments according to the logic. Updated comments according to the logic: it'll return empty string instead of nil if failed to match the regex.