org-mode
使用 *
和 +
用于无序列表。我希望能够使用UTF-8子弹字符。是否有一些列表来定义我可以自定义的一组字符?
我对资源的阅读 emacs/lisp/org/org-list.el
:
(defun org-item-re ()
"Return the correct regular expression for plain lists."
(let ((term (cond
((eq org-plain-list-ordered-item-terminator t) "[.)]")
((= org-plain-list-ordered-item-terminator ?)) ")")
((= org-plain-list-ordered-item-terminator ?.) "\.")
(t "[.)]")))
(alpha (if org-list-allow-alphabetical "\|[A-Za-z]" "")))
(concat "\([ t]*\([-+]\|\(\([0-9]+" alpha "\)" term
"\)\)\|[ t]+\*\)\([ t]+\|$\)")))
似乎表示负面答案。
您无法使此功能返回Regexp匹配• - 除非您愿意进行编辑。