Your message dated Tue, 24 Apr 2018 13:20:46 +0300
with message-id 
<caoq2pxgdjsyvcsuu7qcj2yrvnpzwsa_saek4tfjgbfwjf4q...@mail.gmail.com>
and subject line Re: Bug#703778: erlang-base-hipe: re named subpatterns 
spuriously not matched
has caused the Debian Bug report #703778,
regarding erlang-base-hipe: re named subpatterns spuriously not matched
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
703778: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703778
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: erlang-base-hipe
Version: 1:15.b.1-dfsg-4
Severity: normal


Named subpatterns incorrectly return empty matches if they occur not in
alphabetical order.

Correct behavior (bar matches 2nd branch):

1> re:run("bar", "^(?<a>foo)(?<b>bla)$|^(?<a>[[:word:]]+)$",
          [dupnames, {capture, [a, b], list}]).
{match,["bar",[]]}

Incorrect behavior (bar matches 2nd branch but does not return a match):

2> re:run("bar", "^(?<b>foo)(?<a>bla)$|^(?<b>[[:word:]]+)$",
          [dupnames, {capture, [b, a], list}]).
{match,[[],[]]}

Note the only difference is the names given to the subpatterns.  The order
of the capture list ([a, b]) does not make a difference.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.7.3 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages erlang-base-hipe depends on:
ii  libc6                    2.13-37         Embedded GNU C Library: Shared lib
ii  libncurses5              5.9-10          shared libraries for terminal hand
ii  libtinfo5                5.9-10          shared low-level terminfo library 
ii  procps                   1:3.2.7-11      /proc file system utilities
ii  zlib1g                   1:1.2.7.dfsg-13 compression library - runtime

Versions of packages erlang-base-hipe recommends:
ii  erlang-crypto            1:15.b.1-dfsg-4 Erlang/OTP cryptographic modules
ii  erlang-syntax-tools      1:15.b.1-dfsg-4 Erlang/OTP modules for handling ab
pn  libsctp1                 <none>          (no description available)

Versions of packages erlang-base-hipe suggests:
ii  erlang                   1:15.b.1-dfsg-4 Concurrent, real-time, distributed
ii  erlang-doc               1:15.b.1-dfsg-4 Erlang/OTP HTML/PDF documentation
ii  erlang-edoc              1:15.b.1-dfsg-4 Erlang/OTP module for generating d
ii  erlang-gs                1:15.b.1-dfsg-4 Erlang/OTP graphics system
pn  erlang-manpages          <none>          (no description available)
ii  erlang-tools             1:15.b.1-dfsg-4 Erlang/OTP various tools

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 1:17.3-dfsg-1

Hi Chris,

On Sun, Mar 24, 2013 at 9:49 AM, Sergei Golovan <[email protected]> wrote:
> Hi Chris,
>
> On Sat, Mar 23, 2013 at 7:33 PM, Chris King <[email protected]> wrote:
>>
>> Named subpatterns incorrectly return empty matches if they occur not in
>> alphabetical order.
>
> Yes, seems like a bug. It's still reproducible in the newer
> 16.b-dfsg-2. I'll forward it to the upstream developers.

As far as I can see, this bug is already fixed (as far as in Erlang
17, which is now
in jessie/oldstable).

Cheers!
-- 
Sergei Golovan

--- End Message ---

Reply via email to