From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ryan Bowman Newsgroups: gmane.emacs.help Subject: RegExp question Date: Thu, 23 Sep 2004 09:41:58 -0700 (PDT) Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <20040923164158.69419.qmail@web51603.mail.yahoo.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1095958365 22824 80.91.229.6 (23 Sep 2004 16:52:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Sep 2004 16:52:45 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 23 18:52:34 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CAWpd-0006WU-00 for ; Thu, 23 Sep 2004 18:52:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CAWve-0000LB-3e for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Sep 2004 12:58:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CAWvT-0000L4-Ms for help-gnu-emacs@gnu.org; Thu, 23 Sep 2004 12:58:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CAWvR-0000KG-Lj for help-gnu-emacs@gnu.org; Thu, 23 Sep 2004 12:58:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CAWvR-0000K6-IB for help-gnu-emacs@gnu.org; Thu, 23 Sep 2004 12:58:33 -0400 Original-Received: from [206.190.38.208] (helo=web51603.mail.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1CAWp8-0005Gi-V0 for help-gnu-emacs@gnu.org; Thu, 23 Sep 2004 12:52:03 -0400 Original-Received: from [128.187.156.205] by web51603.mail.yahoo.com via HTTP; Thu, 23 Sep 2004 09:41:58 PDT Original-To: help X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:20832 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20832 I have a regexp "repeat\\(-[xy]?\\)?" this should match repeat repeat-x repeat-y , which it does, however it also matches background-repeat: which I don't want it to. So I changed it to this "repeat\\(-[xy]?\\)?[^:]" so it won't match background-repeat: but then it no longer matches repeat, I assume because [^:] actually means to match something, but not a ':' so how do I specifiy that I don't care if anything follows the patter or not, so long as it is NOT ':'? ===== --- Ryan The door at the end of the tunnel is far too small... - Closing In 2.0 - Don't Be Afraid - Information Society - insoc.org --- __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com