Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
c93d43b0
Commit
c93d43b0
authored
May 03, 2004
by
Brad King
Browse files
ENH: Documented use of \1 syntax in replace expression.
parent
781a1eaa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/cmStringCommand.h
View file @
c93d43b0
...
...
@@ -92,7 +92,10 @@ public:
"possible and store the matches in the output variable as a list.
\n
"
"REGEX REPLACE will match the regular expression as many times as "
"possible and substitute the replacement expression for the match "
"in the output.
\n
"
"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
"
"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
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment