Hi,

In message "Re: [PATCH] was - Re: substring by range parameter (bug?)"
    on 04/07/22, "Ara.T.Howard" <ahoward / noaa.gov> writes:

|note the second case:
|
|   wrong:
|
|     ~ > irb
|     irb(main):001:0> 'foobar'[-1..-1]
|     => "r"
|     irb(main):002:0> 'foobar'[-1..-2]
|     => ""
|     irb(main):003:0> 'foobar'[-1..-3]
|     => nil
|
|   right (patch applied):
|
|     ~ > irb
|     irb(main):001:0> 'foobar'[-1..-1]
|     => "r"
|     irb(main):002:0> 'foobar'[-1..-2]
|     => nil
|     irb(main):003:0> 'foobar'[-1..-3]
|     => nil

Now I fully understand.  I will commit your fix.  Can you prepare
ChangeLog entry for this fix?

							matz.