Skip to content

Commit

Permalink
Update reference definition regexp
Browse files Browse the repository at this point in the history
Based on the one used by Dmitry Dzhus in markdown-goodies
  • Loading branch information
Jason Blevins committed Jun 4, 2008
1 parent a799bbe commit 18ae13a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion markdown-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@
"Regular expression for a reference link [text][id]")

(defconst markdown-regex-reference-definition
"^ \\{0,3\\}\\(\\[.+?\\]\\):\\s *\\(.*?\\)\\s *\\( \"[^\"]*\"$\\|$\\)"
"^ \\{0,3\\}\\(\\[.+?\\]\\): [ ]?\\(.*?\\)\\(\"[^\"]+?\"\\)?$"
"Regular expression for a link definition [id]: ...")

(defconst markdown-regex-header-atx
Expand Down

0 comments on commit 18ae13a

Please sign in to comment.