Fix regex error in perl highlighting

This commit is contained in:
Maxime Coste 2020-11-08 15:14:07 +11:00
parent 7832632d02
commit 086771593c

View File

@ -44,7 +44,7 @@ add-highlighter shared/perl/comment region (?<!\$)(?<!\\)# $
add-highlighter shared/perl/regex region m?(?<!/)(?<!qr)/[^/\n]+(?=/) /\w? fill meta add-highlighter shared/perl/regex region m?(?<!/)(?<!qr)/[^/\n]+(?=/) /\w? fill meta
add-highlighter shared/perl/sregex region s/[^/\n]+/[^/\n]+(?=/) /\w? fill meta add-highlighter shared/perl/sregex region s/[^/\n]+/[^/\n]+(?=/) /\w? fill meta
add-highlighter shared/perl/bregex region s\{[^\}\n]+\}\{[^\}\n]+(?=\}) /} fill meta add-highlighter shared/perl/bregex region s\{[^\}\n]+\}\{[^\}\n]+(?=\}) \} fill meta
add-highlighter shared/perl/quote_brace region -recurse \{ \bq[qrwx]?\{ \} fill string add-highlighter shared/perl/quote_brace region -recurse \{ \bq[qrwx]?\{ \} fill string
add-highlighter shared/perl/quote_paren region -recurse \( \bq[qrwx]?\( \) fill string add-highlighter shared/perl/quote_paren region -recurse \( \bq[qrwx]?\( \) fill string