Gnus development mailing list
 help / color / mirror / Atom feed
From: Colin Walters <walters@cis.ohio-state.edu>
Subject: Re: "Invalid preceding regular expression" in <9d45jl$67c$1@akk3.akk.uni-karlsruhe.de>
Date: 10 May 2001 11:43:50 -0400	[thread overview]
Message-ID: <87snid43bd.church.of.emacs@meta.verbum.org> (raw)
In-Reply-To: <deathsquad.m3itj9w88r.fsf@socha.net> ("Robin S. Socha"'s message of "10 May 2001 17:09:56 +0200")

"Robin S. Socha" <robin@socha.net> writes:

> > "Robin S. Socha" <robin@socha.net> writes:
> 
> >> Signaling: (invalid-regexp "Invalid preceding regular expression")
> >> string-match("disco sucks f**k everything"
> 
> > I believe your problem is that the regexp * operator can only
> > apply to constant-length subexpressions; In other words, the "f**"
> > is invalid.  I'm not sure what your application is, but you might
> > want to check out `regexp-quote', or change the regexp to be like
> > "disco sucks f..k everything"...
> 
> That was not me. That was his organization:
> <9d45jl$67c$1@akk3.akk.uni-karlsruhe.de>

I see.  Do you know where the string "disco sucks f**k everything" is
coming from?  It looks like a BBDB bug to me; the string is being used
as a regexp, when it should probably be passed to `regexp-quote'
first.

I suggest to post this on the relevant BBDB mailing list.




  reply	other threads:[~2001-05-10 15:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-06 20:53 Robin S. Socha
2001-05-08 19:43 ` Colin Walters
2001-05-10 15:09   ` Robin S. Socha
2001-05-10 15:43     ` Colin Walters [this message]
2001-05-10 16:13       ` Colin Walters

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=87snid43bd.church.of.emacs@meta.verbum.org \
    --to=walters@cis.ohio-state.edu \
    /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).