Added option to match on a string to Scanner.