Hi Chris,
On Sat, Mar 23, 2013 at 7:33 PM, Chris King colander...@gmail.com 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.
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, ^(?afoo)(?bbla)$|^(?a[[:word:]]+)$,
[dupnames, {capture, [a, b],
2 matches
Mail list logo