summaryrefslogtreecommitdiffstats
path: root/Help/command/if.rst
diff options
context:
space:
mode:
authorJohel Ernesto Guerrero Peña <johelegp@gmail.com>2021-08-28 02:42:53 (GMT)
committerCraig Scott <craig.scott@crascit.com>2021-08-28 03:58:25 (GMT)
commitc6a6c008f4039c4fc6709cb7652434d66d0f4ab2 (patch)
tree536985fa546c5a39d2fccfcad049424442e90661 /Help/command/if.rst
parent33d4ec1282c240a81e253924ca04ff58c0626f1a (diff)
downloadCMake-c6a6c008f4039c4fc6709cb7652434d66d0f4ab2.zip
CMake-c6a6c008f4039c4fc6709cb7652434d66d0f4ab2.tar.gz
CMake-c6a6c008f4039c4fc6709cb7652434d66d0f4ab2.tar.bz2
Help: Fix terminology for regular expression in if(MATCHES)
This was wrongly changed in commit ba90611225 (Help: Make synopsis of if command more compact; add section headers, 2018-10-05).
Diffstat (limited to 'Help/command/if.rst')
-rw-r--r--Help/command/if.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Help/command/if.rst b/Help/command/if.rst
index fbf3e36..6ff8852 100644
--- a/Help/command/if.rst
+++ b/Help/command/if.rst
@@ -171,7 +171,7 @@ Comparisons
``if(<variable|string> MATCHES regex)``
True if the given string or variable's value matches the given regular
- condition. See :ref:`Regex Specification` for regex format.
+ expression. See :ref:`Regex Specification` for regex format.
.. versionadded:: 3.9
``()`` groups are captured in :variable:`CMAKE_MATCH_<n>` variables.