Change 30617 by [EMAIL PROTECTED] on 2007/03/18 21:04:59

        Integrate the t/op/re_tests from:
        [ 27903]
        regmatch(): make IFMATCH use PUSH_STACK rather than fake recursion
        
        [ 28325]
        Subject: Re: [PATCH] More regex optimisations and debug enhancements 
(including Andys stuff too)
        From: demerphq <[EMAIL PROTECTED]>
        Date: Sun, 28 May 2006 16:24:59 +0200
        Message-ID: <[EMAIL PROTECTED]>

Affected files ...

... //depot/maint-5.8/perl/t/op/re_tests#12 integrate

Differences ...

==== //depot/maint-5.8/perl/t/op/re_tests#12 (text) ====
Index: perl/t/op/re_tests
--- perl/t/op/re_tests#11~30616~        2007-03-18 14:01:13.000000000 -0700
+++ perl/t/op/re_tests  2007-03-18 14:04:59.000000000 -0700
@@ -958,12 +958,16 @@
 (foo|fool|x.|money|parted)$    fools   n       -       -
 (x.|foo|fool|x.|money|parted|y.)$      fools   n       -       -
 (foo|fool|money|parted)$       fools   n       -       -
-(a|aa|aaa|aaaa|aaaaa|aaaaaa)(b|c)      aaaaaaaaaaaaaaab        y       $1$2    
aaaaaab
-(a|aa|aaa|aaaa|aaaaa|aaaaaa)(??{$1&&""})(b|c)  aaaaaaaaaaaaaaab        y       
$1$2    aaaaaab
+(a|aa|aaa||aaaa|aaaaa|aaaaaa)(b|c)     aaaaaaaaaaaaaaab        y       $1$2    
aaaaaab
+(a|aa|aaa||aaaa|aaaaa|aaaaaa)(??{$1&&""})(b|c) aaaaaaaaaaaaaaab        y       
$1$2    aaaaaab
 (a|aa|aaa|aaaa|aaaaa|aaaaaa)(??{$1&&"foo"})(b|c)       aaaaaaaaaaaaaaab        
n       -       -
 ^(a*?)(?!(aa|aaaa)*$)  aaaaaaaaaaaaaaaaaaaa    y       $1      a       # [perl 
#34195]
 ^(a*?)(?!(aa|aaaa)*$)(?=a\z)   aaaaaaaa        y       $1      aaaaaaa
 ^(.)\s+.$(?(1))        A B     y       $1      A       # [perl #37688]
 (?:r?)*?r|(.{2,4})     abcde   y       $1      abcd
 (?!)+?|(.{2,4})        abcde   y       $1      abcd
+^((?>(?:aa)?b)?)       aab     y       $1      aab
+^((?:aa)*)(?:X+((?:\d+|-)(?:X+(.+))?))?$       aaaaX5  y       $1      aaaa
+X(A|B||C|D)Y   XXXYYY  y       $&      XY      # Trie w/ NOTHING
+(?i:X([A]|[B]|y[Y]y|[D]|)Y)    XXXYYYB y       $&      XY      # Trie w/ 
NOTHING
 \x{100}?(??{""})xxx    xxx     y       $&      xxx
End of Patch.

Reply via email to