* RE too deep
@ 1996-03-02 22:58 Loren Schall
0 siblings, 0 replies; only message in thread
From: Loren Schall @ 1996-03-02 22:58 UTC (permalink / raw)
Hi,
Sporadically over the last several versions I've been getting an error
about regular-expression recursion too deep when I try to enter certain
large binary groups I'd rather not name. Sorry, I didn't note the exact
error message.
The following patch seems to alleviate the problem. I suspect that the
`[^()]' part of the annotated regular expression in
gnus-simplify-buffer-fuzzy is/was trying to match across lines (which
is what emacs does, contrary to the usual unix interpretation).
Loren
*** gnus.el.orig Thu Feb 29 06:34:57 1996
--- gnus.el Sat Mar 2 15:05:03 1996
*************** (defun gnus-simplify-buffer-fuzzy ()
*** 3038,3044 ****
(progn (goto-char (match-beginning 0)))
(re-search-forward ":"))))
(goto-char (point-min))
! (while (re-search-forward "[ \t\n]*[[{(][^()]*[]})][ \t]*$" nil t)
(replace-match "" t t))
(goto-char (point-min))
(while (re-search-forward "[ \t]+" nil t)
--- 3038,3044 ----
(progn (goto-char (match-beginning 0)))
(re-search-forward ":"))))
(goto-char (point-min))
! (while (re-search-forward "[ \t\n]*[[{(][^()\n]*[]})][ \t]*$" nil t)
(replace-match "" t t))
(goto-char (point-min))
(while (re-search-forward "[ \t]+" nil t)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-03-02 22:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-03-02 22:58 RE too deep Loren Schall
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).