Project

General

Profile

Actions

Feature #21979

open

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

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

Added by nobu (Nobuyoshi Nakada) about 10 hours ago. Updated about 8 hours ago.

Status:
Open
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

Actions

Also available in: PDF Atom