You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<masak> rakudo: my $a = "a"; $a ~~ / $a /; say $/.chars
<p6eval> rakudo 0a04ef: OUTPUT«-4»
<jnthn> Erm. :-)
<masak> I'm slightly uncomfortable with .chars ever returning
something negative.
<masak> tempted to submit that as a rakudobug.
<jnthn> It has unlength.
* moritz_ yawns. Another manifestation of $/ not being a proper Match object
<masak> "that's the shortest string I've ever seen!"
<moritz_> rakudo: my $a = "a"; $a ~~ / $a /; say ?$/
<p6eval> rakudo 0a04ef: OUTPUT«0»
<snarkyboojum> length with direction :)
<moritz_> so, a failed match
<masak> I know.
<moritz_> which has .from > .to
<masak> I know.
<masak> PGE and GGE do the same.
<masak> alpha: "foo" ~~ /bar/; say $/.chars
<p6eval> alpha 30e0ed: OUTPUT«0»
<masak> moritz_: still don't manifest that bug.
<moritz_> masak: just submit it; one more ticket I can close when I
get proper Match objects running in Perl 6
* masak submits rakudobug
Migrated from rt.perl.org#74694 (status was 'resolved')
Searchable as RT74694$
The text was updated successfully, but these errors were encountered: