Change the default value of first_not_match to -1.