Rename constant NOT_MATCH to NOT_VALID_URL

Added some comments and fixed some spelling mistakes.