org-list: correctly identify description lists

* lisp/org-list.el (org-list-full-item-re): allow description term to
  have a newline character after the colons.
This commit is contained in:
Nicolas Goaziou 2011-05-07 02:33:13 +02:00
parent 073ab7de83
commit 946640d84d
1 changed files with 1 additions and 1 deletions

View File

@ -369,7 +369,7 @@ It depends on `org-empty-line-terminates-plain-lists'.")
(concat "^[ \t]*\\(\\(?:[-+*]\\|\\(?:[0-9]+\\|[A-Za-z]\\)[.)]\\)[ \t]*\\)"
"\\(?:\\[@\\(?:start:\\)?\\([0-9]+\\|[A-Za-z]\\)\\]\\)?"
"\\(?:\\(\\[[ X-]\\]\\)[ \t]+\\)?"
"\\(?:\\(.*\\)[ \t]+::[ \t]+\\)?")
"\\(?:\\(.*\\)[ \t]+::\\(?:[ \t]+\\|$\\)\\)?")
"Matches a list item and puts everything into groups:
group 1: bullet
group 2: counter