|
From: | harven |
Subject: | Re: regexp/emacs selective replace |
Date: | Wed, 25 Nov 2009 13:36:43 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Joost Kremers <joostkremers@yahoo.com> writes: > note that {[^}]*} could also have been written as {.*?} (which IHMO is a bit > clearer and easier to read). strictly speaking {[^}]*} is not the same as {.*?} The first will match {xxx } because emacs regexp [^...] matches newline if it is not included in the brackets. By the way {.*?} is probably closer to what the OP asks for.
[Prev in Thread] | Current Thread | [Next in Thread] |