In perl.git, the branch smoke-me/khw-regex has been created

<http://perl5.git.perl.org/perl.git/commitdiff/f3dbfa4cde89d2cc2f0fabe7cf8aa7ae4536875f?hp=0000000000000000000000000000000000000000>

        at  f3dbfa4cde89d2cc2f0fabe7cf8aa7ae4536875f (commit)

- Log -----------------------------------------------------------------
commit f3dbfa4cde89d2cc2f0fabe7cf8aa7ae4536875f
Author: Karl Williamson <[email protected]>
Date:   Fri Oct 12 11:42:38 2012 -0600

    regcomp.c: Fix-up indentaion; no code changes
    
    Indent a newly-formed block

M       regcomp.c

commit 128528fe2bcd50bdfcd39601b66cf4b6e3959ed2
Author: Karl Williamson <[email protected]>
Date:   Thu Oct 11 21:49:31 2012 -0600

    PATCH: [perl #89774] multi-char fold + its fold in char class
    
    The design for handling characters that fold to multiple characters when
    the former are encountered in a bracketed character class is defective.
    The ticket reads, "If a bracketed character class includes a character
    that has a multi-char fold, and it also includes the first character of
    that fold, the multi-char fold will never be matched; just the first
    character of the fold.".   Thus, in the class /[\0-\xff]/i, \xDF will
    never be matched, because its fold is 'ss', the first character of
    which, 's', is also in the class.
    
    The reason the design is defective is that it doesn't allow for
    backtracking and trying the other options.
    
    This commit solves this by effectively rewriting the above to be
    / (?: \xdf | [\0-\xde\xe0-\xff] ) /xi.  And so the backtracking gets
    handled automatcially by the regex engine.

M       embedvar.h
M       intrpvar.h
M       pod/perldelta.pod
M       pod/perlre.pod
M       pod/perlrecharclass.pod
M       regcomp.c
M       sv.c
M       t/re/re_tests

commit 06b9a7bbfa50231e80a5705cad1c8a3e5fa1e1ff
Author: Karl Williamson <[email protected]>
Date:   Fri Oct 12 11:24:34 2012 -0600

    regen/mk_invlists.pl: Make list for multi-fold chars
    
    This causes charclass_invlists.h to have a new list of all the
    characters whose fold is a sequence of more than one character.

M       charclass_invlists.h
M       regen/mk_invlists.pl

commit 173eb1846086679e1ed978b991f6f73cb75086de
Author: Karl Williamson <[email protected]>
Date:   Fri Oct 12 09:10:10 2012 -0600

    mktables: Add table for chars with multi-char fold
    
    This will be used in a later commit

M       lib/unicore/mktables
-----------------------------------------------------------------------

--
Perl5 Master Repository

Reply via email to