add matchEnd to match the end of the input, and add operator -->. to get the index into the parse result