highlightjs / highlight.js

JavaScript syntax highlighter with language auto-detection and zero dependencies.
https://highlightjs.org/
BSD 3-Clause "New" or "Revised" License
23.6k stars 3.58k forks source link

enh(perl) fix false-positive variable match at end of string #3935

Closed joshgoebel closed 9 months ago

joshgoebel commented 10 months ago

Changes

Resolves #3934.

Checklist

github-actions[bot] commented 10 months ago

Build Size Report

Changes to minified artifacts in /build, after gzip compression.

4 files changed

Total change +10 B

View Changes | file | base | pr | diff | | --- | --- | --- | --- | | es/core.min.js | 8.14 KB | 8.14 KB | -1 B | | es/highlight.min.js | 8.14 KB | 8.14 KB | -1 B | | es/languages/perl.min.js | 1.98 KB | 1.99 KB | +6 B | | languages/perl.min.js | 1.98 KB | 1.99 KB | +6 B |
h3xx commented 10 months ago

Can you please pull in d68f0814719d1b677deeb551b4a815ef7b13029c from my branch?

git remote add h3xx https://github.com/h3xx/highlight.js.git
git fetch h3xx
git merge --ff d68f0814719d1b677deeb551b4a815ef7b13029c