Skip to content

Commit

Permalink
Fix regexp syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrossetie committed Feb 3, 2024
1 parent 08da1a4 commit 560ee29
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 560ee29

Please sign in to comment.