diff options
| author | Paul Eggert | 2019-12-04 16:53:39 -0800 |
|---|---|---|
| committer | Paul Eggert | 2019-12-04 16:54:24 -0800 |
| commit | ab612302b4917fec5846922f3d8ffafa673c0d36 (patch) | |
| tree | 378749424198f449cf9251c558733fa23a212df1 /lisp/org | |
| parent | 4472b053c3003a34803ec3ce5816caadec7b607a (diff) | |
| download | emacs-ab612302b4917fec5846922f3d8ffafa673c0d36.tar.gz emacs-ab612302b4917fec5846922f3d8ffafa673c0d36.zip | |
Fix regex repetition of repetitions
Problems reported by Mattias EngdegÄrd in:
https://lists.gnu.org/r/emacs-devel/2019-12/msg00066.html
* lisp/gnus/gnus-util.el (gnus-emacs-version):
* lisp/mail/rfc2368.el (rfc2368-mailto-regexp):
* lisp/net/tramp-sh.el (tramp-sh-inotifywait-process-filter):
* lisp/obsolete/terminal.el (te-parse-program-and-args):
* lisp/org/org-table.el (org-table-wrap-region):
* lisp/progmodes/verilog-mode.el (verilog-inject-inst):
Avoid repetition-of-repetition in regexp.
Diffstat (limited to 'lisp/org')
| -rw-r--r-- | lisp/org/org-table.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org/org-table.el b/lisp/org/org-table.el index a21587acbe0..5f42db50688 100644 --- a/lisp/org/org-table.el +++ b/lisp/org/org-table.el | |||
| @@ -4642,7 +4642,7 @@ blank, and the content is appended to the field above." | |||
| 4642 | (skip-chars-backward " ") | 4642 | (skip-chars-backward " ") |
| 4643 | (insert " " (org-trim s)) | 4643 | (insert " " (org-trim s)) |
| 4644 | (org-table-align))) | 4644 | (org-table-align))) |
| 4645 | ((looking-at "\\([^|]+\\)+|") ; Split field. | 4645 | ((looking-at "\\([^|]+\\)|") ; Split field. |
| 4646 | (let ((s (match-string 1))) | 4646 | (let ((s (match-string 1))) |
| 4647 | (replace-match " |") | 4647 | (replace-match " |") |
| 4648 | (goto-char (match-beginning 0)) | 4648 | (goto-char (match-beginning 0)) |