Skip to content

Commit

Permalink
Update Perl stringBody
Browse files Browse the repository at this point in the history
Quote escapes are valid escapes in a single quote string body in Perl.
  • Loading branch information
jincao1 authored May 30, 2024
1 parent a5e379c commit 8b6e6b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/basic-languages/perl/perl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ export const language = <languages.IMonarchLanguage>{

stringBody: [
[/'/, 'string', '@popall'],
[/\\'/, 'string.escape'],
[/\\'|\\\\/, 'string.escape'],
[/./, 'string']
],

Expand Down

0 comments on commit 8b6e6b7

Please sign in to comment.