diff --git a/src/basic-languages/perl/perl.ts b/src/basic-languages/perl/perl.ts index 883d34ea78..f6a323c74a 100644 --- a/src/basic-languages/perl/perl.ts +++ b/src/basic-languages/perl/perl.ts @@ -534,7 +534,7 @@ export const language = { stringBody: [ [/'/, 'string', '@popall'], - [/\\'/, 'string.escape'], + [/\\'|\\\\/, 'string.escape'], [/./, 'string'] ],