Variable: org-cite-csl--label-regexp
org-cite-csl--label-regexp is a variable defined in oc-csl.el.gz.
Value
"\\(?:^\\|[[:space:]]\\)\\(?:\\(\\\\\\(?:P\\\\P\\|S\\\\S\\|[PS]\\)\\|b\\(?:k\\(?:s?\\.\\)\\|ook\\)\\|c\\(?:hap\\(?:\\.\\|s\\.\\|ter\\)\\|ol\\(?:\\.\\|s\\.\\|umn\\)\\)\\|f\\(?:ig\\(?:\\.\\|s\\.\\|ure\\)\\|ol\\(?:\\.\\|io\\|s\\.\\)\\)\\|l\\(?:\\.\\|ine\\|l\\.\\)\\|n\\(?:\\.\\|n\\.\\|o\\(?:\\.\\|s\\.\\|te\\)\\|umber\\)\\|op\\(?:\\.\\|p\\.\\|us\\)\\|p\\(?:\\.\\|a\\(?:ge\\|r\\(?:a\\(?:\\.\\|graph\\|s\\.\\)\\|t\\)\\)\\|\\(?:ts\\|[pt]\\)\\.\\)\\|s\\(?:\\.v\\(?:v?\\.\\)\\|ec\\(?:\\.\\|s\\.\\|tion\\)\\|ub verbo\\)\\|v\\(?:\\.\\|erse\\|ol\\(?:\\.\\|s\\.\\|ume\\)\\|v\\.\\)\\|§§\\|¶¶\\|[p§¶]\\)\\)[[:digit:]]*\\(?:\\>\\|$\\|[ [:space:]]\\)"
Documentation
Regexp matching a label in a citation reference suffix.
Label is in match group 1.
Source Code
;; Defined in /usr/src/emacs/lisp/org/oc-csl.el.gz
(defconst org-cite-csl--label-regexp
;; Prior to Emacs-27.1 argument of `regexp' form must be a string literal.
;; It is the reason why `rx' is avoided here.
(rx-to-string
`(seq (or line-start space)
(regexp ,(regexp-opt (mapcar #'car org-cite-csl--label-alist) t))
(0+ digit)
(or word-end line-end space " "))
t)
"Regexp matching a label in a citation reference suffix.
Label is in match group 1.")