In perl.git, the branch smoke-me/khw-5.21 has been created
<http://perl5.git.perl.org/perl.git/commitdiff/05d7725866f0aed9b649a0e8cae7ed3a15811610?hp=0000000000000000000000000000000000000000>
at 05d7725866f0aed9b649a0e8cae7ed3a15811610 (commit)
- Log -----------------------------------------------------------------
commit 05d7725866f0aed9b649a0e8cae7ed3a15811610
Author: Karl Williamson <[email protected]>
Date: Thu Jan 15 20:13:45 2015 -0700
regcomp.c: White-space only
Indent inside a newly formed block
M regcomp.c
commit e108820f15f70a25361d9c96c2ba2f420c3d836d
Author: Karl Williamson <[email protected]>
Date: Thu Jan 15 20:03:09 2015 -0700
regcomp.c: Fix bug in /[A-Z]/i
This also fixes /[a-z]/i.
When not under /i, these two ranges alone in a bracketed character class
can be optimized into qr/[[:upper:]]/a and qr/[[:lower:]]/a respectively.
This optimization saves space in the pattern (as no bitmap is needed),
and I think it executes faster. But this optimization has to be
foregone under /i (unless /a is also present) because otherwise
certain non-ASCII characters such as the \N{KELVIN SIGN} don't match,
and they should.
M regcomp.c
M t/re/re_tests
commit d2c9bc93d80312518da575bb7de4b9c77eadb4aa
Author: Karl Williamson <[email protected]>
Date: Thu Jan 15 19:44:19 2015 -0700
perlrecharclass: Add some missing documentation
M pod/perlrecharclass.pod
commit 5417dea7bbacaa44d0e07090bba1cf04bac937c5
Author: Karl Williamson <[email protected]>
Date: Thu Jan 15 19:40:24 2015 -0700
regcomp.c: Fix comment
M regcomp.c
commit a9f95368fb07e5d249f21e3d2334ee4257b8f6c6
Author: Karl Williamson <[email protected]>
Date: Thu Jan 15 18:52:35 2015 -0700
regcomp.c: Improve generated code for some [:posix:] classes
For regexes compiled not under /l, [:posix:] classes in general require
special handling, as
1) under /d they can match two different sets of code points,
depending on whether or not the target string is in UTF-8.
2) under /a, the matches above the ASCII range need to be filtered
out.
But note that nothing special is needed for /u, and under [:ascii:],
there is nothing to be filtered out, and the UTF-8ness of the target
doesn't matter either. And since [:digit:] and [:xdigit:] don't have
matches in the upper Latin1 range, under /d the UTF-8ness doesn't matter
for them either.
This commit skips the special handling for the above conditions. This
leads to less work during pattern compilation, and can mean faster
run-time code, as well, skipping function calls that otherwise would be
done.
M regcomp.c
commit a2e9b5afb5335d0f5286d0986c60cec8593a71f0
Author: Karl Williamson <[email protected]>
Date: Thu Jan 15 18:42:10 2015 -0700
Regen podcheck db because of recent fixes to epigraphs.pod
M t/porting/known_pod_issues.dat
commit 55ef289ce465916a6078930c187ba3a7b3ce72eb
Author: Karl Williamson <[email protected]>
Date: Thu Jan 15 18:35:40 2015 -0700
regcomp.c: Rmv unneeded temporary
M regcomp.c
commit 2446b94041528fd72a4a23167a7ab9430a88d67b
Author: Karl Williamson <[email protected]>
Date: Thu Jan 15 11:32:22 2015 -0700
Fix regex pattern dump of ANYOF nodes
An ANYOF node is used to handle bracketed character classes and Unicode
properties. It is implemented in part as a bit vector of code points
that match for smallish ordinals, plus other means to specify larger
code points, or code points that match only under certain conditions.
For example, under /d, whether [\w] matches word characters in the upper
Latin1 range depends on whether the target string is in UTF-8 or not,
so the characters which are conditionally matched are saved outside
the bitmap. For performance, there is a flag that gets set if all code
points too large for the bitmap match. This is a common occurrence for
complemented classes, such as [^a-z]. Prior to this commit, if this
flag was set, those things that are conditionally matched were not
output when dumping the regex pattern (under the command line option
-Dr, for example).
M regcomp.c
commit 60b97ee6c71da6aa6dc6b5c2e418f61e34d27a37
Author: Karl Williamson <[email protected]>
Date: Mon Oct 6 16:17:58 2014 -0600
regcomp.c: Move #define, make a function always compiled
This is in preparation for the next commit. The function previously was
used only in DEBUGGING builds
M embed.fnc
M embed.h
M proto.h
M regcomp.c
commit 7e6f8c053e3741175f8fb7d7a32206c1ae0f4ea7
Author: Karl Williamson <[email protected]>
Date: Thu Aug 28 13:59:01 2014 -0600
XXXcharbits
M regcomp.h
commit aac11c64938d13a8ba1abe6354a7f166c3000fb4
Author: Karl Williamson <[email protected]>
Date: Tue Jun 17 18:49:53 2014 -0600
XXX partial perlapi text
M perlvars.h
commit b7df5c8581a9e68a136f06148b75b088c5e406bf
Author: Karl Williamson <[email protected]>
Date: Sat May 17 19:37:06 2014 -0600
XXX Don't push. attempt to tell tries everything at compile time
But, it appears this is thrown away, have to consult with Yves to see if
is worth pursuing
M embed.fnc
M embed.h
M perl.h
M proto.h
M regcomp.c
M regcomp.h
M regcomp.sym
-----------------------------------------------------------------------
--
Perl5 Master Repository