From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: [babel][PATCHES] exporting inline source code Date: Wed, 30 Jul 2014 22:01:15 +0200 Message-ID: <87d2cmk450.fsf@Rainer.invalid> References: <878uopbnhi.fsf@gmail.com> <874my19z1f.fsf@bzg.ath.cx> <87a97sfgkx.fsf@bzg.ath.cx> <8761iesl67.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36429) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCa4F-0003xh-6r for emacs-orgmode@gnu.org; Wed, 30 Jul 2014 16:01:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XCa48-0003NJ-NK for emacs-orgmode@gnu.org; Wed, 30 Jul 2014 16:01:43 -0400 Received: from plane.gmane.org ([80.91.229.3]:49219) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCa48-0003N5-G2 for emacs-orgmode@gnu.org; Wed, 30 Jul 2014 16:01:36 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XCa40-0003Zs-JU for emacs-orgmode@gnu.org; Wed, 30 Jul 2014 22:01:28 +0200 Received: from pd9eb0a2c.dip0.t-ipconnect.de ([217.235.10.44]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Jul 2014 22:01:28 +0200 Received: from Stromeko by pd9eb0a2c.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Jul 2014 22:01:28 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Nicolas Goaziou writes: >> + "\\(?:^\\|[^-[:alnum:]]\\)\\(src_\\([^ \f\t\n\r\v\\[]+\\)" > > I think "[^ \f\t\n\r\v[]" is enough. Yes. But looking at the original regex has me wondering if the need for the extra '[' isn't an indication of something more fundamentally wrong with it. Where does that need to have unused groups and groups that match the empty string come from? Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for KORG EX-800 and Poly-800MkII V0.9: http://Synth.Stromeko.net/Downloads.html#KorgSDada