| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
| |
| |
| |
| |
| | |
"Improved documentation of unusual character escapes" was fixed up in
9644846.
|
| |
| |
| |
| |
| |
| | |
"Improved documentation of unusual character escapes (bf82ca4)" added
in a0316a43 should have referenced 4068718. There's no bf82ca4 commit
in the perl repository.
|
| | |
|
| |
| |
| |
| |
| | |
Include the explanation from my cae9400 patch in the perldelta so that
it can be understood when read stand-alone.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Mention that C<eval sprintf "%#X", 0x10> now works, and that upper
case hex/binary literals are supported in C and friends.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This patch adds a mention of \o{} to perlre to avoid the backreference
ambiguities, and uses 3 octal digits in an example, and suggests using 3
digits where 2 were suggested before.
Signed-off-by: David Golden <dagolden@cpan.org>
|
| | |
|
| |
| |
| |
| | |
This is a merge resolution based on original work by Karl Williamson.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This commit adds the new construct \o{} to express a character constant
by its octal ordinal value, along with ancillary tests and
documentation.
A function to handle this is added to util.c, and it is called from the
3 parsing places it could occur. The function is a candidate for
in-lining, though I doubt that it will ever be used frequently.
|
| |
| |
| |
| | |
Signed-off-by: David Golden <dagolden@cpan.org>
|
| |
| |
| |
| | |
Signed-off-by: David Golden <dagolden@cpan.org>
|
| |
| |
| |
| | |
Signed-off-by: David Golden <dagolden@cpan.org>
|
| |
| |
| |
| | |
Signed-off-by: David Golden <dagolden@cpan.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Prior to this patch, \400 - \777 meant something different in some
circumstances in regexes outside bracketed character classes. A
deprecated warning message has been in place since 5.10.1 when this
happens. Remove the warning, and bring the behavior into line with the
other double-quotish contexts. \400 - \777 now always means the same
thing as \x{100} - \x{1FF} (except when the octal forms are taken as
backreferences.)
Signed-off-by: David Golden <dagolden@cpan.org>
|
| |
| |
| |
| |
| |
| | |
These come from Abigail.
Signed-off-by: David Golden <dagolden@cpan.org>
|
| |
| |
| |
| | |
Signed-off-by: David Golden <dagolden@cpan.org>
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Clarifies how hexadecimal escapes are interpreted, with particular
attention to the treatment of invalid characters.
Based on an original draft patch by Karl Williamson.
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: David Golden <dagolden@cpan.org>
|
|/
|
|
|
| |
This allows the individual callbacks to be switched on and off as
necessary, without removing the entry from PL_blockhooks.
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: David Golden <dagolden@cpan.org>
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: David Golden <dagolden@cpan.org>
|
| |
|
|
|
|
|
| |
This patch refactors charnames so that vianame and \N call the same
common subroutine so that they have as identical behavior as possible.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds the ability of a user to create a custom alias that maps to a
numeric ordinal value, instead of an official Unicode name.
The number of hashes went up so that is better to refer to them by a
name than a number, so I renamed them.
Also, viacode will return any defined user's alias for an otherwise
unamed code point.
This change is principally so that private use characters can be named
so it is more convenient to use them in Perl.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds the standard abbreviations for the control characters
(such as ACK, BEL, etc) to the repertoire that \N{} knows about. It
also adds a few common variants of their full names, and the old names
for the 4 controls that Unicode has chosen not to have any names at all
for.
The patch also adds all the abbreviations that Unicode lists in 5.2 for
longer characters, such as NBSP, SHY, LRE, ...
To preserve complete backward compatibilty for these and future changes,
user-defined aliases are now checked first, before these are.
As a performance enhancement, these aliases are mapped to their actual
code values instead of their full names which then had to be looked up
in the large table. Now that is avoided, and the table is not loaded
at all until a name is encountered that is not one of these aliases.
The pod and .t are updated.
|
|
|
|
|
| |
Update the release_managers_guide.pod with the new command usage,
and remove the todo item
|
|
|
|
|
|
|
|
|
|
|
| |
perldoc -f srand states that typical use requires no srand() to be
called. This is true with the exception of forking where you may not
want the same seed across various child processes (i.e. mod_perl).
This patch simply adds a note reminding the reader of this fact and
more specifically states that srand should only be called once per
*process* (instead of the previous language of once per *script*).
Signed-off-by: Brian Phillips <bphillips@cpan.org>
|
| |
|
|
|
|
|
| |
Cherry picking this from 5.12.1 would lose all the 5.13.X additions, so
these edits have been made by hand.
|
|
|
|
|
|
| |
(cherry picked from commit 7ecbc3da3c049655fce6b77e81d08f2025e54c57)
Signed-off-by: David Golden <dagolden@cpan.org>
|
|
|
|
|
|
| |
(cherry picked from commit 9c65d57d2684045468e94068812e5c2344f3fbd2)
Signed-off-by: David Golden <dagolden@cpan.org>
|
|
|
|
|
|
| |
(cherry picked from commit d54920628df719d2fc3f377ff487b3905b633c1a)
Signed-off-by: David Golden <dagolden@cpan.org>
|
|
|
|
|
|
| |
(cherry picked from commit ed9a37359c07a6d8b582c6c1dead720366ae1533)
Signed-off-by: David Golden <dagolden@cpan.org>
|
|
|
|
|
|
| |
(cherry picked from commit 8615356d76c331b7754ec660c69a0632c60fc00c)
Signed-off-by: David Golden <dagolden@cpan.org>
|
|
|
|
|
|
| |
(cherry picked from commit 189604b10ea23a1742e336089a5819d6900287d5)
Signed-off-by: David Golden <dagolden@cpan.org>
|
|
|
|
|
|
|
|
|
|
| |
(really just a git log extract through
36693587080e3b3d31f308de4d313511d8068955)
(cherry picked just pod/perl5121delta.pod from
937302a7ee64e57880e9b8f17d6257a67226d53e)
Signed-off-by: David Golden <dagolden@cpan.org>
|