This looks related to the following two tickets:

* https://rt.perl.org/Public/Bug/Display.html?id=120993 (~~ transforms junction 
into string before attempting to match)

* https://rt.perl.org/Ticket/Display.html?id=112392 (resolved: .Str 
auto-threaded, meaning that it gave back another Junction, not a Str.)

Currently the error message "This type cannot unbox to a native string" is gone 
(since the second problem from above was fixed), but the results still wrong:

$ perl6 -e 'say ?(all() ~~ /^ \d+ $/)'
False

$ perl6 -e 'say ?(all() ~~ /./)'
True

$ perl6 -e 'say ?(all() ~~ /all/)'
True

$ perl6 -e 'say ?(all() ~~ /bll/)'
False

If no one objects, I'm going to merge this ticket with #120993.

Reply via email to