[perl #126438] [BUG] regex match hang up

2015-10-27 Thread jn...@jnthn.net via RT
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

[perl #126438] [BUG] regex match hang up

2015-10-24 Thread via RT
# 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 /^\