summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-02-14 10:54:32 -0700
committerKarl Williamson <public@khwilliamson.com>2013-02-25 14:57:50 -0700
commit537124e4032962cd7c5f3bd4f0ee7995cd79e8ec (patch)
treee37330ba1f315956dc962f0c1f3217c6327c81d9 /regcomp.c
parent2550367793db9f9f86124a38dc944f949b315d84 (diff)
downloadperl-537124e4032962cd7c5f3bd4f0ee7995cd79e8ec.tar.gz
Add, fix comments
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/regcomp.c b/regcomp.c
index d8260e2dd4..141ce91942 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -15299,8 +15299,11 @@ S_put_byte(pTHX_ SV *sv, int c)
EO, or Eight Ones, is an 8-bit EBCDIC character code represented as all
ones (binary 1111 1111, hexadecimal FF). It is similar, but not
- identical, to the ASCII delete (DEL) or rubout control character.
- ) So the old condition can be simplified to !isPRINT(c) */
+ identical, to the ASCII delete (DEL) or rubout control character. ...
+ it is typically mapped to hexadecimal code 9F, in order to provide a
+ unique character mapping in both directions)
+
+ So the old condition can be simplified to !isPRINT(c) */
if (!isPRINT(c)) {
if (c < 256) {
Perl_sv_catpvf(aTHX_ sv, "\\x%02x", c);