summaryrefslogtreecommitdiff
path: root/dquote_static.c
diff options
context:
space:
mode:
Diffstat (limited to 'dquote_static.c')
-rw-r--r--dquote_static.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dquote_static.c b/dquote_static.c
index 868cd06b7d..5cc890b13c 100644
--- a/dquote_static.c
+++ b/dquote_static.c
@@ -68,7 +68,7 @@ S_grok_bslash_c(pTHX_ const char source, const bool utf8, const bool output_warn
else {
U8 clearer[3];
U8 i = 0;
- if (! isALNUM(result)) {
+ if (! isWORDCHAR(result)) {
clearer[i++] = '\\';
}
clearer[i++] = result;