Variable: org-footnote-re

org-footnote-re is a variable defined in org-footnote.el.gz.

Value

"\\[fn:\\(?:\\(?1:[-_[:word:]]+\\)?\\(:\\)\\|\\(?1:[-_[:word:]]+\\)\\]\\)"

Documentation

Regular expression for matching footnotes.

Match group 1 contains footnote's label. It is nil for anonymous footnotes. Match group 2 is non-nil only when footnote is inline, i.e., it contains its own definition.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-footnote.el.gz
;;;; Constants

(defconst org-footnote-re
  "\\[fn:\\(?:\\(?1:[-_[:word:]]+\\)?\\(:\\)\\|\\(?1:[-_[:word:]]+\\)\\]\\)"
  "Regular expression for matching footnotes.
Match group 1 contains footnote's label.  It is nil for anonymous
footnotes.  Match group 2 is non-nil only when footnote is
inline, i.e., it contains its own definition.")