Skip to content

Commit

Permalink
Fix footnote regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrossetie committed Feb 11, 2024
1 parent 7e8e5ae commit 40183f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntaxes/Asciidoctor.json
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,7 @@
"patterns": [
{
"name": "markup.other.footnote.asciidoc",
"begin": "(?<!\\\\)footnote(?:(ref):|:([\\w-]+)?)\\[(?:|(#.*?[^\\]))\\]",
"begin": "(?<!\\\\)footnote(?:(ref):|:([\\w-]+)?)\\[(?:|(.*?[^\\\\]))\\]",
"beginCaptures": {
"1": {
"name": "entity.name.function.asciidoc"
Expand Down

0 comments on commit 40183f6

Please sign in to comment.