diff --git a/Help/command/if.rst b/Help/command/if.rst index 4fed570d44..14b199d9a5 100644 --- a/Help/command/if.rst +++ b/Help/command/if.rst @@ -264,7 +264,7 @@ Comparisons True if the given string or variable's value matches the given regular expression. See :ref:`Regex Specification` for regex format. - .. versionadded:: 3.9 + .. versionadded:: 2.6 ``()`` groups are captured in :variable:`CMAKE_MATCH_` variables. .. signature:: if( LESS )