[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
regexp question: match anything but not a group?
From: |
Thorsten Jolitz |
Subject: |
regexp question: match anything but not a group? |
Date: |
Tue, 01 Apr 2014 23:30:35 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Hi List,
how can I write a regexp that acts like e.g.
,------
| ".*?"
`------
but does not match a group like e.g.
,---------------------
| (regexp-quote "\\)")
`---------------------
?
This works more or less but does not seem to be very robust
,---------
| "[^)]*?"
`---------
since ')' could appear in other contexts than the group. How can I
negate a specific group of characters and not only any occurence of
single characters?
--
cheers,
Thorsten
- regexp question: match anything but not a group?,
Thorsten Jolitz <=
- Re: regexp question: match anything but not a group?, Andreas Röhler, 2014/04/02
- Re: regexp question: match anything but not a group?, Thorsten Jolitz, 2014/04/03
- Re: regexp question: match anything but not a group?, Stefan Monnier, 2014/04/03
- Re: regexp question: match anything but not a group?, Thorsten Jolitz, 2014/04/04
- Message not available
- Re: regexp question: match anything but not a group?, Loris Bennett, 2014/04/04
- Re: regexp question: match anything but not a group?, Andreas Röhler, 2014/04/04
- Re: regexp question: match anything but not a group?, Thorsten Jolitz, 2014/04/04
- Re: regexp question: match anything but not a group?, Andreas Röhler, 2014/04/04
- Re: regexp question: match anything but not a group?, Andreas Röhler, 2014/04/04
- Re: regexp question: match anything but not a group?, Thorsten Jolitz, 2014/04/04