On this page
Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
class · Ruby 3.4
Prism::BackReferenceReadNode
Represents reading a reference to a field in the previous match.
$' ^^
Class methods 2
Instance methods 10
Attributes
Read
The name of the back-reference variable, including the leading ‘$`.
Example
$& # name `:$&` $+ # name `:$+`