summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2019-07-13 15:39:54 +0200
committerBenoit Daloze <eregontp@gmail.com>2019-07-13 15:39:54 +0200
commit237b3e00c72bff89b97d04d0a15200949ac1ee56 (patch)
tree053eff0fa09d86c9e5de1417e81e9b1b064275b7 /doc
parentb1ee7148f8f9007d7154bf147daecc8c70dc44a3 (diff)
Document $~ before dependent global variables
Diffstat (limited to 'doc')
-rw-r--r--doc/globals.rdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/globals.rdoc b/doc/globals.rdoc
index b1e0369481..8729ff2134 100644
--- a/doc/globals.rdoc
+++ b/doc/globals.rdoc
@@ -4,12 +4,12 @@
$!:: The exception information message set by 'raise'.
$@:: Array of backtrace of the last exception thrown.
+$~:: The information about the last match in the current scope (thread-local and frame-local).
$&:: The string matched by the last successful match.
$`:: The string to the left of the last successful match.
$':: The string to the right of the last successful match.
$+:: The highest group matched by the last successful match.
$1:: The Nth group of the last successful match. May be > 1.
-$~:: The information about the last match in the current scope.
$=:: This variable is no longer effective. Deprecated.
$/:: The input record separator, newline by default. Aliased to $-0.
$\:: The output record separator for the print and IO#write. Default is nil.