From 466b138ea211fc9187965bd52ec68c65da4e9490 Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (o)" Date: Mon, 17 Feb 2020 17:37:59 +0100 Subject: Help: string: regex match and replace is a subcase of Search&Replace --- Help/command/string.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Help/command/string.rst b/Help/command/string.rst index 81a2061..ba7c656 100644 --- a/Help/command/string.rst +++ b/Help/command/string.rst @@ -11,8 +11,6 @@ Synopsis `Search and Replace`_ string(`FIND`_ [...]) string(`REPLACE`_ ...) - - `Regular Expressions`_ string(`REGEX MATCH`_ ...) string(`REGEX MATCHALL`_ ...) string(`REGEX REPLACE`_ ...) @@ -47,6 +45,9 @@ Synopsis Search and Replace ^^^^^^^^^^^^^^^^^^ +Search and Replace With Plain Strings +""""""""""""""""""""""""""""""""""""" + .. _FIND: .. code-block:: cmake @@ -74,8 +75,8 @@ so strings containing multi-byte characters may lead to unexpected results. Replace all occurrences of ```` in the ```` with ```` and store the result in the ````. -Regular Expressions -^^^^^^^^^^^^^^^^^^^ +Search and Replace With Regular Expressions +""""""""""""""""""""""""""""""""""""""""""" .. _`REGEX MATCH`: @@ -87,6 +88,7 @@ Regular Expressions Match the ```` once and store the match in the ````. All ```` arguments are concatenated before matching. +Regular expressions are specified in the subsection just below. .. _`REGEX MATCHALL`: -- cgit v0.12