On Thu, Apr 04, 2013 at 02:09:36PM -0700, Carl Mäsak wrote: > <p6eval> rakudo 99e27f: OUTPUT«「/foo/bar/baz/」 dirname => > 「/foo/bar/baz/」 dirname => 「/foo/bar/」 basename => 「baz」» > <labster> okay, why do I get two copies of dirname when the match only > succeeds once? > <masak> huuhhnn. > <masak> wut. > <masak> I suspect a backtracking-related glitch. > ... > The .gist output is bizarre. There should never be duplicate keys in a > Match.
The "gist" method uses ".caps" for the match output, so I suspect the culprit is in "caps", or in Match.gist's incorrect usage of .caps . Duplicate keys can appear in the .caps stream. Pm
