Replaced last_match with start_of_section