[perl #127215] Negative codepoint in .comb + /:m/

2016-09-19 Thread Will Coleda via RT
On Fri Jan 08 21:03:49 2016, ju...@tnx.nl wrote:
> $ perl6 -e'say "hello".comb(/:m <[o]>/)'
> ===SORRY!===
> chr codepoint cannot be negative
> 


-- 
Will "Coke" Coleda

I can no longer duplicate this:

$ perl6 --version
This is Rakudo version 2016.08.1 built on MoarVM version 2016.08
implementing Perl 6.c.
$  perl6 -e'say "hello".comb(/:m <[o]>/)'
(o)

Closable with tests.



Re: [perl #127215] Negative codepoint in .comb + /:m/

2016-01-09 Thread Elizabeth Mattijsen
> On 09 Jan 2016, at 06:03, Juerd Waalboer (via RT) 
>  wrote:
> 
> # New Ticket Created by  Juerd Waalboer 
> # Please include the string:  [perl #127215]
> # in the subject line of all future correspondence about this issue. 
> # https://rt.perl.org/Ticket/Display.html?id=127215 >
> 
> 
>$ perl6 -e'say "hello".comb(/:m <[o]>/)'
>===SORRY!===
>chr codepoint cannot be negative

Please, note more information is available with —ll-exception.  For bug 
reporting / triage, this can be very helpful.


> 
> -- 
> Met vriendelijke groet, // Kind regards, // Korajn salutojn,
> 
> Juerd Waalboer  
> TNX

Seems to happen somewhere deep in the NQP regex bowels.

$ 6l '"hello".comb(/:m <[o]>/)'
chr codepoint cannot be negative
   at :1  (::73)
 from gen/moar/stage2/QRegex.nqp:1337  
(/Users/liz/Github/rakudo.moar/install/share/nqp/lib/QRegex.moarvm:!cursor_more:97)
 from gen/moar/m-CORE.setting:10144  
(/Users/liz/Github/rakudo.moar/install/share/perl6/runtime/./CORE.setting.moarvm::69)
 from gen/moar/m-CORE.setting:12487  
(/Users/liz/Github/rakudo.moar/install/share/perl6/runtime/./CORE.setting.moarvm::25)
 from gen/moar/m-CORE.setting:12519  
(/Users/liz/Github/rakudo.moar/install/share/perl6/runtime/./CORE.setting.moarvm:push-exactly:98)

I haven’t been able to golf this further yet.


Liz

[perl #127215] Negative codepoint in .comb + /:m/

2016-01-08 Thread via RT
# New Ticket Created by  Juerd Waalboer 
# Please include the string:  [perl #127215]
# in the subject line of all future correspondence about this issue. 
# https://rt.perl.org/Ticket/Display.html?id=127215 >


$ perl6 -e'say "hello".comb(/:m <[o]>/)'
===SORRY!===
chr codepoint cannot be negative

-- 
Met vriendelijke groet, // Kind regards, // Korajn salutojn,

Juerd Waalboer  
TNX