Re: PGE tests wanted (was P6GE tests wanted)

2004-12-18 Thread Patrick R. Michaud
On Sat, Dec 18, 2004 at 08:47:42AM -0800, Larry Wall wrote: > : This test seems to cause an infinite loop > : (with parrot_2004-12-16_160001) > : > : p6rule_isnt('a--', '^[a?b?]*$', 're_tests 387 (#438)'); # infinite loop > > Detecting failure to progress can be quite tricky, actually. It's eas

Re: PGE tests wanted (was P6GE tests wanted)

2004-12-18 Thread hv
Larry Wall <[EMAIL PROTECTED]> wrote: :Henry Spencer's original regex routines simply disallowed expressions :that might be infinite. We tried relaxing that in Perl 5, and got :it wrong more than one way. I'm not actually sure what approach p5 :takes right now, if any. We detect and warn of repe

Re: PGE tests wanted (was P6GE tests wanted)

2004-12-18 Thread Larry Wall
On Sat, Dec 18, 2004 at 12:16:31PM +0200, Markus Laire wrote: : Patrick R. Michaud wrote: : >>Larry mentioned 're_tests' file from perl5-source. Is anyone working on : >>it currently? I could make a simple script to convert at least some of : >>it to this pge-testing format which uses p6rule_* :

Re: PGE tests wanted (was P6GE tests wanted)

2004-12-18 Thread Patrick R. Michaud
On Sat, Dec 18, 2004 at 12:16:31PM +0200, Markus Laire wrote: > > This test seems to cause an infinite loop > (with parrot_2004-12-16_160001) > > p6rule_isnt('a--', '^[a?b?]*$', 're_tests 387 (#438)'); # infinite loop So far repeating groups of zero-length strings causes an infinite loop- I jus

Re: PGE tests wanted (was P6GE tests wanted)

2004-12-18 Thread Markus Laire
Patrick R. Michaud wrote: Larry mentioned 're_tests' file from perl5-source. Is anyone working on it currently? I could make a simple script to convert at least some of it to this pge-testing format which uses p6rule_* 'simple script' .. it isn't so simple anymore ;) I'm not aware of anyone worki

Re: PGE tests wanted (was P6GE tests wanted)

2004-12-17 Thread Patrick R. Michaud
On Fri, Dec 17, 2004 at 10:21:40AM +0200, Markus Laire wrote: > I'm currently writing few tests for PGE. So far I've found 2 failing > tests: (with parrot_2004-12-16_160001.tar.gz) > > p6rule_like('abcabbc', 'ab+?bc', qr/0: /, ''); > p6rule_like('abbcabbbc', 'ab+?', qr/0: /, ''); Woops, the comp

Re: PGE tests wanted (was P6GE tests wanted)

2004-12-17 Thread Markus Laire
I'm currently writing few tests for PGE. So far I've found 2 failing tests: (with parrot_2004-12-16_160001.tar.gz) p6rule_like('abcabbc', 'ab+?bc', qr/0: /, ''); p6rule_like('abbcabbbc', 'ab+?', qr/0: /, ''); output from "perl t/harness mytests/*.t" is attached. Larry mentioned 're_tests' file fr