From: Sven Bretfeld <sven.bretfeld@gmx.ch>
To: help-gnu-emacs@gnu.org
Subject: Re: RegExp: match everything except a certain string
Date: Tue, 20 Nov 2007 22:31:27 +0100 [thread overview]
Message-ID: <87fxz07geo.fsf@kamaloka.dhatu> (raw)
In-Reply-To: <47434C26.1090208@gmail.com> (Lennart Borgman's message of "Tue, 20 Nov 2007 22:05:42 +0100")
[-- Attachment #1.1: Type: text/plain, Size: 470 bytes --]
Hi Lennart
"Lennart Borgman (gmail)" <lennart.borgman@gmail.com> writes:
>> It's a good idea to use a sed pipe. But it doesn't matter how much
>> there is to type, since I need the expression for a function. So I
>> only have to type it once.
>
> Then it is probably much easier to use two step aproach:
>
> 1) use a simpler regexp
> 2) test if "subtitle" was in the match
This is going to be my first function ever. I will try if I can do it
that way.
Thanks
Sven
[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]
[-- Attachment #2: Type: text/plain, Size: 152 bytes --]
_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
next prev parent reply other threads:[~2007-11-20 21:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-20 16:08 RegExp: match everything except a certain string Sven Bretfeld
2007-11-20 17:50 ` Andreas Röhler
2007-11-20 20:36 ` Sven Bretfeld
2007-11-20 21:05 ` Lennart Borgman (gmail)
2007-11-20 21:31 ` Sven Bretfeld [this message]
[not found] ` <mailman.3846.1195590989.18990.help-gnu-emacs@gnu.org>
2007-11-28 16:19 ` Sven Utcke
2007-11-28 21:22 ` Malte Spiess
[not found] ` <mailman.3839.1195580948.18990.help-gnu-emacs@gnu.org>
2007-11-30 16:26 ` Stefan Monnier
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=87fxz07geo.fsf@kamaloka.dhatu \
--to=sven.bretfeld@gmx.ch \
--cc=help-gnu-emacs@gnu.org \
/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.