From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#7882: 24.0.50; Bad regexp for javascript regexps Date: Fri, 21 Jan 2011 15:50:17 -0500 Message-ID: References: <20110121.185029.1304555966254424651.hanche@math.ntnu.no> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1295644945 12925 80.91.229.12 (21 Jan 2011 21:22:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 21 Jan 2011 21:22:25 +0000 (UTC) Cc: 7882-done@debbugs.gnu.org To: Harald Hanche-Olsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 21 22:22:20 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PgOR0-0003Ve-N8 for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Jan 2011 22:22:18 +0100 Original-Received: from localhost ([127.0.0.1]:55221 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PgOP8-0002y3-SR for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Jan 2011 16:20:22 -0500 Original-Received: from [140.186.70.92] (port=53265 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PgO0Q-0000OM-Ft for bug-gnu-emacs@gnu.org; Fri, 21 Jan 2011 15:54:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PgO0P-000545-9i for bug-gnu-emacs@gnu.org; Fri, 21 Jan 2011 15:54:50 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PgO0P-000541-83 for bug-gnu-emacs@gnu.org; Fri, 21 Jan 2011 15:54:49 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PgNp0-0002l3-KV for bug-gnu-emacs@gnu.org; Fri, 21 Jan 2011 15:43:02 -0500 Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Jan 2011 20:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 7882 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 7882@debbugs.gnu.org, monnier@IRO.UMontreal.CA Original-Received: via spool by 7882-done@debbugs.gnu.org id=D7882.129564255010562 (code D ref 7882); Fri, 21 Jan 2011 20:43:02 +0000 Original-Received: (at 7882-done) by debbugs.gnu.org; 21 Jan 2011 20:42:30 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PgNoU-0002kJ-Cf for submit@debbugs.gnu.org; Fri, 21 Jan 2011 15:42:30 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PgNoO-0002jz-Kx for 7882-done@debbugs.gnu.org; Fri, 21 Jan 2011 15:42:28 -0500 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id p0LKofuR012437; Fri, 21 Jan 2011 15:50:41 -0500 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 47BB7B411E; Fri, 21 Jan 2011 15:50:17 -0500 (EST) In-Reply-To: <20110121.185029.1304555966254424651.hanche@math.ntnu.no> (Harald Hanche-Olsen's message of "Fri, 21 Jan 2011 18:50:29 +0100 (CET)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3735=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 21 Jan 2011 15:43:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:43516 Archived-At: > replace(/\\/g,something); Thanks, I've installed the patch below into the emacs-23 branch which should fix this problem. The highlighting is not reliable when the regexp spans multiple lines, tho, so I wonder: are multi-line regexps valid? common? important? Stefan