Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: df81533552c44ec9335fa60a79ebde307615939d
https://github.com/Perl/perl5/commit/df81533552c44ec9335fa60a79ebde307615939d
Author: Karl Williamson <[email protected]>
Date: 2022-03-19 (Sat, 19 Mar 2022)
Changed paths:
M regen/regcharclass.pl
Log Message:
-----------
regen/regcharclass.pl: Add backwards UTF-8 tries
This adds the ability to generate a trie macro that starts at the right
end of a string and backs up one matching byte at a time until a full
character is matched; bailing immediately if a non-matching byte is
found.
Previously, the way to accomplish this was to call the function to hop
back (which looked at the string byte by byte backwards until it found a
non-continuation byte), and then look forwards for matching bytes.
This new way is more efficient, as only the necessary bytes are
examined.
Commit: 78883498ddf1464784ca3a85a413ef98cd47fa49
https://github.com/Perl/perl5/commit/78883498ddf1464784ca3a85a413ef98cd47fa49
Author: Karl Williamson <[email protected]>
Date: 2022-03-19 (Sat, 19 Mar 2022)
Changed paths:
M regcharclass.h
M regen/regcharclass.pl
Log Message:
-----------
Add is_XPERLSPACE_utf8_safe_backwards()
This macro starts from the right side and matches UTF-8 white space
characters.
Commit: 42a429a3564e820fa6dff5ca417b8560a2f70d6b
https://github.com/Perl/perl5/commit/42a429a3564e820fa6dff5ca417b8560a2f70d6b
Author: Karl Williamson <[email protected]>
Date: 2022-03-19 (Sat, 19 Mar 2022)
Changed paths:
M builtin.c
M lib/builtin.pm
M lib/builtin.t
M pod/perldelta.pod
Log Message:
-----------
Add builtin::trim()
Most of this code came from Paul Evans and Scott Chief Baker
Compare: https://github.com/Perl/perl5/compare/3e08669d21d8...42a429a3564e