From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: Regexp: match any character including newline Date: Wed, 16 Oct 2013 23:16:18 +0700 Message-ID: References: <3c91f48a-a042-4513-a058-8639870fc550@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1381940195 1104 80.91.229.3 (16 Oct 2013 16:16:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Oct 2013 16:16:35 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Rustom Mody Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 16 18:16:38 2013 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 1VWTm2-0005Cy-Hd for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Oct 2013 18:16:38 +0200 Original-Received: from localhost ([::1]:48271 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWTm2-0004li-23 for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Oct 2013 12:16:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWTln-0004jB-RU for help-gnu-emacs@gnu.org; Wed, 16 Oct 2013 12:16:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VWTlj-0000S2-0P for help-gnu-emacs@gnu.org; Wed, 16 Oct 2013 12:16:23 -0400 Original-Received: from mail-qe0-x230.google.com ([2607:f8b0:400d:c02::230]:61669) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWTli-0000Ry-Th for help-gnu-emacs@gnu.org; Wed, 16 Oct 2013 12:16:18 -0400 Original-Received: by mail-qe0-f48.google.com with SMTP id d4so805429qej.35 for ; Wed, 16 Oct 2013 09:16:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=KJTsYmogTVBF4T7PpifQ9TJbfzdCGfmmsT7ky0GlkR4=; b=McQ0nob2a+gyrtV/3ez5BrbyGV8ayJvJEHON9uAVd/EG/bEcZ99ZBC4GwmAa6E1jYT SPUf9BV402DboD+ob8+PBN47ZfrXyRQCpVd1dF5PVYXwYOwzubzPBseoU0s4c0CpglwU qfbZrz3wNTnr2UPreYX2nViT44TxRfRe3k1LsDWDbcu5CmpWZgsyEMWILPYj4hA0Pcjl 0bXVTRU/6RTmTtMsnFKYjcHKQpNSnyENV3vh61gXAbx7E5jnl39Xj1SicVNTfb3bgG/v RWxzTf1Vky6liuOJFGXm8hHm5kpRkPfUZRdqCfDq5JumcAI4FXqEruk2Nrlr+qZgUWuR 1Apg== X-Received: by 10.49.127.179 with SMTP id nh19mr4883558qeb.1.1381940178474; Wed, 16 Oct 2013 09:16:18 -0700 (PDT) Original-Received: by 10.96.2.167 with HTTP; Wed, 16 Oct 2013 09:16:18 -0700 (PDT) In-Reply-To: <3c91f48a-a042-4513-a058-8639870fc550@googlegroups.com> X-Google-Sender-Auth: -okiRfVEYDzlqDCHpsQPlNyQNd0 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c02::230 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:94042 Archived-At: On Wed, Oct 16, 2013 at 10:58 PM, Rustom Mody wrote= : > Regexp handling of xml is commonly a source of grief. Oh, please don=E2=80=99t get me wrong. I know all about the Chomsky hierarc= hy, the pumping lemmas, and Tony the Pony[1]. Regexps only cause grief when they collide with nesting. [1]: http://stackoverflow.com/questions/1732348/regex-match-open-tags-excep= t-xhtml-self-contained-tags/1732454#1732454