Added last_match function overloads to determine failure location.  Fixed XML grammar such that cfg file parses.