Re: [perl #129311] Simple Grammar Goes into infinite loop

2016-09-21 Thread Andrew Buchanan
Ok, that clarifies things. Now that I understand what is happening, it is straightforward to recognise and fix the problem. A sentence in the documentation might help other perl 5 transitioners from getting bitten, perhaps at the explanation of the * quantifier. > On 21 Sep 2016, at 6:35 PM

Re: [perl #129311] Simple Grammar Goes into infinite loop

2016-09-20 Thread Andrew Buchanan
Is this also technically correct, even though it clearly shouldn't match? perl6 -e '"foo" ~~ /(.*)+\:/' # hangs In either case, going into an infinite loop is not exactly DWIM. > On 20 Sep 2016, at 9:12 PM, Will Coleda via RT > wrote: > > On Tue Sep 20 06:06:59 2016, c...@zoffix.com wrote: