From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/36180 Path: main.gmane.org!not-for-mail From: "Robin S. Socha" Newsgroups: gmane.emacs.gnus.general Subject: Re: "Invalid preceding regular expression" in <9d45jl$67c$1@akk3.akk.uni-karlsruhe.de> Date: 10 May 2001 17:09:56 +0200 Organization: Trial By Combat Message-ID: References: <87zocnpqyc.church.of.emacs@meta.verbum.org> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035171809 7181 80.91.224.250 (21 Oct 2002 03:43:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:43:29 +0000 (UTC) Return-Path: Original-Received: (qmail 5236 invoked by alias); 10 May 2001 15:17:03 -0000 Original-Received: (qmail 5223 invoked from network); 10 May 2001 15:17:02 -0000 Original-Received: from pd9002026.dip.t-dialin.net (HELO radioactive.socha.net) (217.0.32.38) by gnus.org with SMTP; 10 May 2001 15:17:02 -0000 Original-Received: (qmail 23538 invoked by uid 500); 10 May 2001 15:09:57 -0000 Original-To: ding@gnus.org X-URL: X-MSMail-Priority: X5O!P%@AP[4PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H* X-Face: #Z}0zkbqU,m`+S)^0R[.23L-o>U{UQ|(DvIqu^Bjw:po_g9;4JnT9tbn;QX$ga/LYS In-Reply-To: <87zocnpqyc.church.of.emacs@meta.verbum.org> (Colin Walters's message of "08 May 2001 15:43:07 -0400") User-Agent: Gnus/5.090003 (Oort Gnus v0.03) XEmacs/21.5 (alfalfa) Original-Lines: 16 Xref: main.gmane.org gmane.emacs.gnus.general:36180 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:36180 * Colin Walters writes: > "Robin S. Socha" 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> -- Robin S. Socha http://my.gnus.org/ - To boldly frobnicate what no newbie has grokked before.