Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* illegal regexp after upgrading 20.7 -> 21.2
@ 2003-01-27  6:17 Pranav K. Tiwari
       [not found] ` <m3hebtopc3.fsf@defun.localdomain>
  0 siblings, 1 reply; 2+ messages in thread
From: Pranav K. Tiwari @ 2003-01-27  6:17 UTC (permalink / raw)




Tried to upgrade to 21.2 from 20.7, but 21.2 doesn't like a regexp I use
for mail splitting. Backtrace is attached - can anyone find something
offending?

thx,
-p


Debugger entered--Lisp error: (invalid-regexp "Invalid regular expression")
* re-search-forward("^Subject:.*=\\(?gb2312?\\|?euc-kr?\\|?Euc-kr?\\|?ks_c_5601-1987?\\)" nil t)
  byte-code("\bÆ\x19^[(I\x1a^[,Cd ...."
  nnimap-split-to-groups((("INBOX.SPAM" "^Content-Type:.*\\(gb2312\\|euc-kr\\|Euc-kr\\|ks_c_5601-1987\\)") ("INBOX.SPAM" "^Subject:.*=\\(?gb2312?\\|?euc-kr?\\|?Euc-kr?\\|?ks_c_5601-1987?\\)")))
  nnimap-split-articles(nil "cbin2-mira-01")
  nnimap-request-scan(nil "cbin2-mira-01")
  gnus-request-scan(nil (nnimap "cbin2-mira-01" (nnimap-address "cbin2-mira-01.cisco.com") (nnimap-authinfo-file "~/personal/netrc") (nnimap-list-pattern ("Inbox*"))))
  gnus-get-unread-articles(3)
  gnus-group-get-new-news(3)
  (if (eq arg nil) (gnus-group-get-new-news pkt:gnus-default-get-news-level) (gnus-group-get-new-news arg))
  pkt:gnus-group-get-new-news()
  (progn (switch-to-buffer "*Group*") (pkt:gnus-group-get-new-news))
  (if (get-buffer "*Group*") (progn (switch-to-buffer "*Group*") (pkt:gnus-group-get-new-news)) (funcall pkt:gnus-function))
  (lambda nil (interactive) (if (get-buffer "*Group*") (progn ... ...) (funcall pkt:gnus-function)))()
* call-interactively((lambda nil (interactive) (if (get-buffer "*Group*") (progn ... ...) (funcall pkt:gnus-function))))


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: illegal regexp after upgrading 20.7 -> 21.2
       [not found] ` <m3hebtopc3.fsf@defun.localdomain>
@ 2003-01-28  6:57   ` Pranav K. Tiwari
  0 siblings, 0 replies; 2+ messages in thread
From: Pranav K. Tiwari @ 2003-01-28  6:57 UTC (permalink / raw)


On Tue, 28 Jan 2003 05:44:44 +0100, Jesper Harder <harder@myrealbox.com> writes:

> anti-spam-pranav@cisco.com (Pranav K. Tiwari) writes:
>
>> Tried to upgrade to 21.2 from 20.7, but 21.2 doesn't like a regexp I use
>> for mail splitting. Backtrace is attached - can anyone find something
>> offending?
>>
>> Debugger entered--Lisp error: (invalid-regexp "Invalid regular expression")
>> * re-search-forward("^Subject:.*=\\(?gb2312?\\|?euc-kr?\\|?Euc-kr?\\|?ks_c_5601-1987?\\)" nil t)
>
> Does it help to quote the question marks?  I.e. "\\?gb2312\\?" instead
> of "?gb2312?".

Yes, it does. Thanks.
-p


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-28  6:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-27  6:17 illegal regexp after upgrading 20.7 -> 21.2 Pranav K. Tiwari
     [not found] ` <m3hebtopc3.fsf@defun.localdomain>
2003-01-28  6:57   ` Pranav K. Tiwari

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).