[DOC] Add reference from global variables to equivalent MatchData

c.f. #21040
This commit is contained in:
Nobuyoshi Nakada 2025-01-16 13:12:58 +09:00
parent 32cb4b204d
commit e65986c9bc
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465
Notes: git 2025-01-16 06:28:27 +00:00

View File

@ -127,6 +127,9 @@ The affected global variables are:
Note that <tt>$0</tt> is quite different;
it returns the name of the currently executing program.
These variables, except for <tt>$~</tt>, are shorthands for methods of
<tt>$~</tt>. See MatchData@Global+variables+equivalence.
Examples:
# Matched string, but no matched groups.