Project

General

Profile

Actions

Feature #21979

closed

`String#unpack`/`String#unpack1` should allow negative offset

Feature #21979: `String#unpack`/`String#unpack1` should allow negative offset

Added by nobu (Nobuyoshi Nakada) 5 months ago. Updated 4 months ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:125180]

Description

https://bugs.ruby-lang.org/issues/18254#note-14
I think String#unpack/String#unpack1 should allow negative offset as well as the other methods, for example String#slice that is referred to in the description.

ruby/ruby#16641

Updated by nobu (Nobuyoshi Nakada) 5 months ago Actions #1

  • Description updated (diff)

Updated by nobu (Nobuyoshi Nakada) 4 months ago Actions #2

  • Status changed from Open to Closed

Applied in changeset git|eb053e7446607f5e70215bf508499ef6bab3aa4a.


[Feature #21979] Allow negative offset in unpack

Actions

Also available in: PDF Atom