From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Richard Newsgroups: gmane.emacs.help Subject: Re: Is it valid to use the zero-byte "^@" in regexps? Date: Wed, 18 Jun 2014 14:15:23 +0200 Message-ID: <87sin2quqs.fsf@geodiff-mac3.ulb.ac.be> References: <87sin2zijl.fsf@gmail.com> <87ppi61m7m.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1403094151 6848 80.91.229.3 (18 Jun 2014 12:22:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Jun 2014 12:22:31 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Thorsten Jolitz To: Michael Albinus Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 18 14:22:24 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WxEse-0008Tg-RL for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Jun 2014 14:22:20 +0200 Original-Received: from localhost ([::1]:56951 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxEse-0001FT-DR for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Jun 2014 08:22:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxEsJ-00016X-Sm for help-gnu-emacs@gnu.org; Wed, 18 Jun 2014 08:22:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxEsC-0004v9-UK for help-gnu-emacs@gnu.org; Wed, 18 Jun 2014 08:21:59 -0400 Original-Received: from mxin.ulb.ac.be ([164.15.128.112]:39327) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxEsC-0004uz-PT for help-gnu-emacs@gnu.org; Wed, 18 Jun 2014 08:21:52 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap8EAISDoVOkD4Xx/2dsb2JhbABayAEBgSF1hAQBBXkFCwshJQ8BBA08iEABAxGvApYKAUoNhk2FYokTB4RDBKEmjHWDRDs Original-Received: from mathsrv4.ulb.ac.be (HELO geodiff-mac3.ulb.ac.be) ([164.15.133.241]) by smtp.ulb.ac.be with ESMTP; 18 Jun 2014 14:13:56 +0200 In-Reply-To: <87ppi61m7m.fsf@gmx.de> (Michael Albinus's message of "Wed, 18 Jun 2014 13:38:53 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.91 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 164.15.128.112 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:98333 Archived-At: Michael Albinus writes: > Thorsten Jolitz writes: > >> Hi List, > > Hi, > >> ,-------------------------------------------------------- >> | "^#\\+begin_src[[:space:]]+emacs-lisp[^^@]*\n#\\+end_src" >> `-------------------------------------------------------- > > "^#\\+begin_src[[:space:]]+emacs-lisp[[:ascii:]]+\n#\\+end_src" Many characters are not in ASCII (0-127) To include NULs, this would work : "^#\\+begin_src[[:space:]]+emacs-lisp\\(?:.\\|\n\\)+\n#\\+end_src" -- Nico.