summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2009-03-13 14:58:13 -0400
committerAlexander Neundorf <neundorf@kde.org>2009-03-13 14:58:13 -0400
commit4a23e052375e589719a7f3cbf146cdbbffb83734 (patch)
tree50099106a4975ec21de3a5d42fed2c1cff71e863
parent5cde305b99613839fb93bbb89f11e1f315626cee (diff)
downloadcmake-4a23e052375e589719a7f3cbf146cdbbffb83734.tar.gz
STYLE: add line breaks to the documentation for CMAKE_MATCH_(0..9),
otherwise one might miss this information Alex
-rw-r--r--Source/cmStringCommand.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmStringCommand.h b/Source/cmStringCommand.h
index 3fa8a83822..fbe7160668 100644
--- a/Source/cmStringCommand.h
+++ b/Source/cmStringCommand.h
@@ -132,9 +132,10 @@ public:
" + Matches preceding pattern one or more times\n"
" ? Matches preceding pattern zero or once only\n"
" | Matches a pattern on either side of the |\n"
- " () Saves a matched subexpression, which can be referenced in "
- "the REGEX REPLACE operation. Additionally it is saved in the special "
- "CMake variables CMAKE_MATCH_(0..9).";
+ " () Saves a matched subexpression, which can be referenced \n"
+ " in the REGEX REPLACE operation. Additionally it is saved\n"
+ " by all regular expression-related commands, including \n"
+ " e.g. if( MATCHES ), in the variables CMAKE_MATCH_(0..9).";
}
cmTypeMacro(cmStringCommand, cmCommand);