diff --git a/Source/cmStringCommand.h b/Source/cmStringCommand.h index d46d70ce1..7dd666890 100644 --- a/Source/cmStringCommand.h +++ b/Source/cmStringCommand.h @@ -71,8 +71,8 @@ public: " STRING(REGEX REPLACE \n" " \n" " [...])\n" - " STRING(REPLACE \n" - " \n" + " STRING(REPLACE \n" + " \n" " [...])\n" " STRING(COMPARE EQUAL )\n" " STRING(COMPARE NOTEQUAL )\n" @@ -98,12 +98,8 @@ public: "subexpressions of the match using \\1, \\2, ..., \\9. Note that " "two backslashes (\\\\1) are required in CMake code to get a " "backslash through argument parsing.\n" - "REPLACE will match the given expression " - "and substitute the replacement expression for the match " - "in the output. The replace expression may refer to paren-delimited " - "subexpressions of the match using \\1, \\2, ..., \\9. Note that " - "two backslashes (\\\\1) are required in CMake code to get a " - "backslash through argument parsing.\n" + "REPLACE will replace all occurences of match_string in the input with " + "replace_string and store the result in the output.\n" "COMPARE EQUAL/NOTEQUAL/LESS/GREATER will compare the strings and " "store true or false in the output variable.\n" "ASCII will convert all numbers into corresponding ASCII characters.\n"