X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/f9bf01c6616d5ddcf65b13b33cedf9e387ff7a63..4e4e5a6f2694187498445a6ac6f1634ce8141119:/pcre/pcre_exec.cpp diff --git a/pcre/pcre_exec.cpp b/pcre/pcre_exec.cpp index 8ca2eb4..50973d0 100644 --- a/pcre/pcre_exec.cpp +++ b/pcre/pcre_exec.cpp @@ -198,7 +198,7 @@ static void pchars(const UChar* p, int length, bool isSubject, const MatchData& length = md.endSubject - p; while (length-- > 0) { int c; - if (isprint(c = *(p++))) + if (isASCIIPrintable(c = *(p++))) printf("%c", c); else if (c < 256) printf("\\x%02x", c);