[perl #83622] [BUG] Rakudo says NaN === NaN is False

2011-02-07 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #83622] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=83622 > rakudo: say NaN == NaN rakudo a37640: OUTPUT«Bool::False␤» ?(NaN == NaN) is supposed

[perl6/specs] 248778: only list-quantifiers force list capture

2011-02-07 Thread noreply
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: 248778e0424abc41bf7ebfb48d719fe8d0d822ce https://github.com/perl6/specs/commit/248778e0424abc41bf7ebfb48d719fe8d0d822ce Author: Larry Wall Date: 2011-02-07 (Mon, 07 Feb 2011) Changed paths: M S05-regex.pod Log Mes

[perl6/specs] a6bb00: /(x)?/ again defined as item capture, not list

2011-02-07 Thread noreply
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: a6bb001f14497715bab30a1ab1b86bc0ae296ec9 https://github.com/perl6/specs/commit/a6bb001f14497715bab30a1ab1b86bc0ae296ec9 Author: Larry Wall Date: 2011-02-07 (Mon, 07 Feb 2011) Changed paths: M S05-regex.pod Log Mes

Re: [perl #83574] [BUG] Rakudo doesn't reject /|&foo/ as containing a null pattern (but STD.pm6 does)

2011-02-07 Thread Patrick R. Michaud
On Mon, Feb 07, 2011 at 08:38:43AM -0800, Carl Mäsak wrote: > std: /|&foo/ > std 625303c: OUTPUT«===SORRY!===␤Null > pattern not allowed [...] FAILED 00:01 117m␤» > rakudo: /|&foo/; say 'alive' > rakudo a37640: OUTPUT«alive␤» > * masak submits rakudobug I think STD might be w

[perl #83574] [BUG] Rakudo doesn't reject /|&foo/ as containing a null pattern (but STD.pm6 does)

2011-02-07 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #83574] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=83574 > std: /|&foo/ std 625303c: OUTPUT«===SORRY!===␤Null pattern not allow

Re: [perl #83498] [PATCH] for #82142:

2011-02-07 Thread Patrick R. Michaud
On Mon, Feb 07, 2011 at 11:36:22AM +0100, Moritz Lenz wrote: > +| '/' \s* '/' <.panic: "Null regex in substitution not allowed"> > > But I fear this is the wrong approach. Instead of doing a separate > null pattern check in every quoting construct, the check should be > done in the regex parsi

Re: [perl #83498] [PATCH] for #82142:

2011-02-07 Thread Moritz Lenz
And as an actual patch: --- a/src/Perl6/Grammar.pm +++ b/src/Perl6/Grammar.pm @@ -1477,6 +1477,7 @@ token quote:sym { } <.setup_quotepairs> [ +| '/' \s* '/' <.panic: "Null regex in substitution not allowed"> | '/' ':qq'> <.old_rx_mods>? | '[' ']' <.ws> [ '=

[perl #83552] s[] is not recognized as illegal substitution with null pattern, but as a subroutine call

2011-02-07 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #83552] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=83552 > 08:49 < moritz_> rakudo: $_ = "foo"; s[] = 'bar'; .say 08:50 <+p6eval> rakudo 989883: OUT