Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: anti-spam-pranav@cisco.com (Pranav K. Tiwari)
Subject: Re: illegal regexp after upgrading 20.7 -> 21.2
Date: Mon, 27 Jan 2003 22:57:55 -0800	[thread overview]
Message-ID: <uvg09lq18.fsf@cisco.com> (raw)
In-Reply-To: <m3hebtopc3.fsf@defun.localdomain>

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


      parent reply	other threads:[~2003-01-28  6:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-27  6:17 Pranav K. Tiwari
     [not found] ` <m3hebtopc3.fsf@defun.localdomain>
2003-01-28  6:57   ` Pranav K. Tiwari [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uvg09lq18.fsf@cisco.com \
    --to=anti-spam-pranav@cisco.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).