The application matches the subtext against the text, outputting the character positions of the beginning of each match for the subtext within the text.