diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-02-15 10:04:10 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-02-15 18:02:35 -0700 |
commit | adfec83175578461303ab5cfcc90d37cb3114126 (patch) | |
tree | 08679ef700740ff48ea845a50ff057b45bee89af /pp.c | |
parent | 25093c956d0b9bf18415f717ee7eafa550809b89 (diff) | |
download | perl-adfec83175578461303ab5cfcc90d37cb3114126.tar.gz |
pp_quotemeta(): Use more explicit macro
Changing the macro to a differently-named equivalent stresses that only
ASCII characters may escape from being quoted. That is, all non-ASCII
are quoted.
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4107,7 +4107,7 @@ PP(pp_quotemeta) } else { while (len--) { - if (!isALNUM(*s)) + if (!isWORDCHAR_A(*s)) *d++ = '\\'; *d++ = *s++; } |