Fixed Bug with Compare Tool

Fixed Bug with Compare Tool. Modified RegEx to include whitespace.