summaryrefslogtreecommitdiffstats
path: root/Source/cmStringCommand.h
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2009-03-13 18:58:13 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2009-03-13 18:58:13 (GMT)
commit4a23e052375e589719a7f3cbf146cdbbffb83734 (patch)
tree50099106a4975ec21de3a5d42fed2c1cff71e863 /Source/cmStringCommand.h
parent5cde305b99613839fb93bbb89f11e1f315626cee (diff)
downloadCMake-4a23e052375e589719a7f3cbf146cdbbffb83734.zip
CMake-4a23e052375e589719a7f3cbf146cdbbffb83734.tar.gz
CMake-4a23e052375e589719a7f3cbf146cdbbffb83734.tar.bz2
STYLE: add line breaks to the documentation for CMAKE_MATCH_(0..9),
otherwise one might miss this information Alex
Diffstat (limited to 'Source/cmStringCommand.h')
-rw-r--r--Source/cmStringCommand.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmStringCommand.h b/Source/cmStringCommand.h
index 3fa8a83..fbe7160 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);