diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/language-specs/perl.lang | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/language-specs/perl.lang b/data/language-specs/perl.lang index 5764dd44..4b38ec4b 100644 --- a/data/language-specs/perl.lang +++ b/data/language-specs/perl.lang @@ -1022,7 +1022,7 @@ FIXME: =pod should require an empty line before/after, as written in perlpod </context> <context id="pod" style-ref="pod" class-disabled="no-spell-check"> - <start>^(?=(=[a-z]))</start> + <start>^(?=(=(?!end))[a-z])</start> <end>^=(cut)$</end> <include> <context sub-pattern="1" where="end" style-ref="pod-keyword"/> @@ -1033,7 +1033,7 @@ FIXME: =pod should require an empty line before/after, as written in perlpod </context> <context> <start>^=(begin)\s+(.*)$</start> - <end>^=(end)\s+\%{1@start}$</end> + <end>^=(end)\s+\%{2@start}$</end> <include> <context sub-pattern="1" where="start" style-ref="pod-keyword"/> <context sub-pattern="1" where="end" style-ref="pod-keyword"/> |