Sfoglia il codice sorgente

Backport commit ab612302b from Emacs

* lisp/org-table.el (org-table-wrap-region): Avoid
repetition-of-repetition in regexp.

Fix regex repetition of repetitions
ab612302b4917fec5846922f3d8ffafa673c0d36
Paul Eggert
Wed Dec 4 16:54:24 2019 -0800
Paul Eggert 5 anni fa
parent
commit
9c5174e235
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      lisp/org-table.el

+ 1 - 1
lisp/org-table.el

@@ -4642,7 +4642,7 @@ blank, and the content is appended to the field above."
 	(skip-chars-backward " ")
 	(insert " " (org-trim s))
 	(org-table-align)))
-     ((looking-at "\\([^|]+\\)+|")	; Split field.
+     ((looking-at "\\([^|]+\\)|")	; Split field.
       (let ((s (match-string 1)))
 	(replace-match " |")
 	(goto-char (match-beginning 0))