[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RegExp: match everything except a certain string
From: |
Sven Bretfeld |
Subject: |
Re: RegExp: match everything except a certain string |
Date: |
Tue, 20 Nov 2007 22:31:27 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.1.50 (gnu/linux) |
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
pgpg6BQ_mHoa9.pgp
Description: PGP signature
Message not available