Merge topic 'doc-string-FIND-failure-case'

fe2e503e Help: Document string(FIND) return value when no match is found
This commit is contained in:
Brad King 2015-07-31 09:21:51 -04:00 committed by CMake Topic Stage
commit 6c3d0e9a6b

View File

@ -96,7 +96,7 @@ random number generator.
``FIND`` will return the position where the given substring was found in ``FIND`` will return the position where the given substring was found in
the supplied string. If the ``REVERSE`` flag was used, the command will the supplied string. If the ``REVERSE`` flag was used, the command will
search for the position of the last occurrence of the specified search for the position of the last occurrence of the specified
substring. substring. If the substring is not found, a position of -1 is returned.
The following characters have special meaning in regular expressions: The following characters have special meaning in regular expressions: