summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-03-25 14:07:52 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-03-25 14:07:52 (GMT)
commit1cc637da205dd62ba1afabee748a35f14de1a180 (patch)
treea21585e8d8576507b6e20045e3a21958d7a4c086
parent1a60115bf5bcb479b049497f68a76e8bc3370d53 (diff)
parent763a6dcd335e60dfecca6b7f3f823106a3877cf6 (diff)
downloadCMake-1cc637da205dd62ba1afabee748a35f14de1a180.zip
CMake-1cc637da205dd62ba1afabee748a35f14de1a180.tar.gz
CMake-1cc637da205dd62ba1afabee748a35f14de1a180.tar.bz2
Merge topic 'doc-string-regex'
763a6dc string: Fix regex documentation of '^' and '$' (#14028)
-rw-r--r--Source/cmStringCommand.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmStringCommand.h b/Source/cmStringCommand.h
index 30dbaa5..802e0b8 100644
--- a/Source/cmStringCommand.h
+++ b/Source/cmStringCommand.h
@@ -129,8 +129,8 @@ public:
"will search for the position of the last occurrence of the "
"specified substring.\n"
"The following characters have special meaning in regular expressions:\n"
- " ^ Matches at beginning of a line\n"
- " $ Matches at end of a line\n"
+ " ^ Matches at beginning of input\n"
+ " $ Matches at end of input\n"
" . Matches any single character\n"
" [ ] Matches any character(s) inside the brackets\n"
" [^ ] Matches any character(s) not inside the brackets\n"