summaryrefslogtreecommitdiff
path: root/test/ruby/test_basicinstructions.rb
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2023-09-11 12:32:25 -0400
committergit <svn-admin@ruby-lang.org>2023-09-11 21:42:03 +0000
commitb7ffa74d583100bb41b43bfdc8d883aea2e1fcad (patch)
treed06cdfa75b81a48efd3326ee1b8f68222f90c42d /test/ruby/test_basicinstructions.rb
parentaa69bd841aa5c35429e0dc08f5955a0dbd9176e5 (diff)
[ruby/yarp] Introduce MatchLastLineNode and InterpolatedMatchLastLineNode
These are replacements for regular expressions when they are used alone as the predicate of a conditional. That's because they are significantly different from a regular expression because they are not evaluated for truthyness, but instead evaluated as a match against the last line read by an IO object. https://github.com/ruby/yarp/commit/0f1c7780e8
Diffstat (limited to 'test/ruby/test_basicinstructions.rb')
0 files changed, 0 insertions, 0 deletions