1CMAKE_MATCH_<n>
2---------------
3
4.. versionadded:: 3.9
5
6Capture group ``<n>`` matched by the last regular expression, for groups
70 through 9.  Group 0 is the entire match.  Groups 1 through 9 are the
8subexpressions captured by ``()`` syntax.
9
10When a regular expression match is used, CMake fills in ``CMAKE_MATCH_<n>``
11variables with the match contents.  The :variable:`CMAKE_MATCH_COUNT`
12variable holds the number of match expressions when these are filled.
13