Bug#703778: erlang-base-hipe: re named subpatterns spuriously not matched

2013-03-25 Thread Sergei Golovan
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.

Bug#703778: erlang-base-hipe: re named subpatterns spuriously not matched

2013-03-23 Thread Chris King
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],