|
From: | Marc Tfardy |
Subject: | Re: Problem with regexp nested groups |
Date: | Sun, 11 May 2008 13:59:52 +0200 |
User-agent: | Thunderbird 2.0.0.14 (Windows/20080421) |
Johan Bockgård schrieb:
Marc Tfardy <m-t-o___CUT__IT@web.de> writes:Not good. Now I replace (match-string-no-properties 1) with (match-string-no-properties 2) and I get only two results for both DATA lines: found: some/file/sample1.mp3 found: some/file/sample2.mp3 found: nilIn CVS Emacs: "\\(DATA=\"\\(.*?\.mp3\\)\"\\|OBJ('\\(?2:.*?\.mp3\\)')\\)" ** The regexp form \(?<num>:<regexp>\) specifies the group number explicitly.
Great! One reason more to install CVS version :) Thanks. regards Marc
[Prev in Thread] | Current Thread | [Next in Thread] |