Skip to content

Commit

Permalink
Coq: Improved attribute pattern performance (#3085)
Browse files Browse the repository at this point in the history
  • Loading branch information
RunDevelopment committed Sep 26, 2021
1 parent 233415b commit 2f9672a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/prism-coq.js
Expand Up @@ -17,7 +17,7 @@
'attribute': [
{
pattern: RegExp(
/#\[(?:[^\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|<comment>)*\]/.source
/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|<comment>)*\]/.source
.replace(/<comment>/g, function () { return commentSource; })
),
greedy: true,
Expand Down
2 changes: 1 addition & 1 deletion components/prism-coq.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2f9672a

Please sign in to comment.