Skip to content

Commit

Permalink
Update Perl stringBody
Browse files Browse the repository at this point in the history
Backslash escapes are valid escapes in a single quote string body in Perl.
  • Loading branch information
jincao1 committed May 30, 2024
1 parent a5e379c commit d18f6db
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 d18f6db

Please sign in to comment.