On Fri Oct 23 10:26:30 2015, blackcatoverw...@gmail.com wrote:
> The below code will hang up.
>
>
>
> source:
>
> say '+0877' ~~ /^+/;
>
>
>
> I think it should be /^\+/
Yes, you need to quote of backslash the +. The hang is because ^ never matches
any chars, so doesn't make progress, so q
# New Ticket Created by gfw blackcat
# Please include the string: [perl #126438]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=126438 >
The below code will hang up.
source:
say '+0877' ~~ /^+/;
I think it should be /^\