From: Ryan Bowman <rlb_emacs@yahoo.com>
Subject: RE: RegExp question
Date: Fri, 24 Sep 2004 12:43:21 -0700 (PDT) [thread overview]
Message-ID: <20040924194321.58270.qmail@web51603.mail.yahoo.com> (raw)
In-Reply-To: <1095970988.415330ac9b789@www.bluebottle.com>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 1869 bytes --]
--- JayBingham <binghamjc@bluebottle.com> wrote:
> On Thursday, September 23, 2004 11:42 AM Ryan Bowman
> wrote:
>
> > 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 ':'?
>
> I am curious which version of emacs you are running.
> I have emacs
> 21.2 loaded on my Windows 2k system and the above
> regexp matches
> every repeat in your message except those followed
> by a ":" and one
> that I added at the end of the buffer which does not
> have anything
> following it. You are correct in your assumption
> that [^:] actually
> means to match something. Remember that a new line
> is something, as
> opposed to nothing. This means that when repeat
> occurs at the end of
> a line the new line is included in the matched
> string and point will
> follow it (be at the start of the next line) so it
> may appear that it
> was not matched.
>
> <Do not reply to the above address, reply only to
> the list>
>
> -_
> J_)
> C_)ingham
> . Hewlett-Packard
> . Austin, TX
> . Language is the apparel in which your thoughts
> parade in public.
> . Never clothe them in vulgar and shoddy attire.
> -Dr. George W.
> Crane-
>
>
>
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>
=====
---
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!?
Y! Messenger - Communicate in real time. Download now.
http://messenger.yahoo.com
next prev parent reply other threads:[~2004-09-24 19:43 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-23 20:23 RegExp question JayBingham
2004-09-24 19:43 ` Ryan Bowman [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-01-06 16:14 regexp question Thorsten Bonow
2011-01-07 10:05 ` tomas
2006-09-26 11:18 AW: replace a textblock in multiple files C.Strobl
2006-09-26 12:09 ` regexp question C.Strobl
2006-09-26 17:16 ` Peter Dyballa
2006-09-29 22:03 ` Dieter Wilhelm
2006-09-30 8:53 ` Peter Dyballa
[not found] ` <mailman.7422.1159272599.9609.help-gnu-emacs@gnu.org>
2006-09-27 7:58 ` Florian Kaufmann
[not found] <20040924194238.40080.qmail@web51606.mail.yahoo.com>
2004-09-28 18:21 ` RegExp question JayBingham
[not found] <mailman.3776.1095958718.1998.help-gnu-emacs@gnu.org>
2004-09-23 18:09 ` Stefan Monnier
2004-09-23 16:41 Ryan Bowman
2004-09-23 18:05 ` Greg Hill
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=20040924194321.58270.qmail@web51603.mail.yahoo.com \
--to=rlb_emacs@yahoo.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.