mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Document $~ before dependent global variables
This commit is contained in:
parent
b1ee7148f8
commit
237b3e00c7
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue