From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Super-User Newsgroups: gmane.emacs.bugs Subject: font lock error for Perl Date: Fri, 18 Oct 2002 10:59:45 +0200 (MEST) Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <200210180859.g9I8xjUu023621@mailserver.adm.unipi.it> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1034959428 31804 80.91.224.249 (18 Oct 2002 16:43:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 18 Oct 2002 16:43:48 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 182aDy-0008Gb-00 for ; Fri, 18 Oct 2002 18:43:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 182aEd-0000TJ-00; Fri, 18 Oct 2002 12:44:27 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 182aDi-0000AI-00 for bug-gnu-emacs@gnu.org; Fri, 18 Oct 2002 12:43:30 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 182aDf-00009d-00 for bug-gnu-emacs@gnu.org; Fri, 18 Oct 2002 12:43:29 -0400 Original-Received: from gnudist.gnu.org ([199.232.41.7]) by monty-python.gnu.org with esmtp (Exim 4.10) id 182a7v-0003P0-00 for bug-gnu-emacs@gnu.org; Fri, 18 Oct 2002 12:37:31 -0400 Original-Received: from mailserver.adm.unipi.it ([131.114.190.19]) by gnudist.gnu.org with esmtp (Exim 4.10) id 182T3k-0008Mc-00 for bug-gnu-emacs@gnu.org; Fri, 18 Oct 2002 05:04:45 -0400 Original-Received: from mailserver.adm.unipi.it (localhost [127.0.0.1]) by mailserver.adm.unipi.it (8.12.5/8.12.5) with ESMTP id g9I8xu1s023630 for ; Fri, 18 Oct 2002 11:00:01 +0200 (MEST) Original-Received: (from root@localhost) by mailserver.adm.unipi.it (8.12.5/8.12.5/Submit) id g9I8xjUu023621; Fri, 18 Oct 2002 10:59:45 +0200 (MEST) Original-To: bug-gnu-emacs@gnu.org X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/) Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:3704 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3704 In GNU Emacs 21.2.1 (sparc-sun-solaris2.8, X toolkit) of 2002-10-08 on mailserver Put the following line in test.pm: $content_type =~ /\bboundary\s*=\s*["']?(.*?)["']?(?:;|$)/i; And all the text after the first double quote will be green until the end of the file. You can work around it by using the following variation instead: $content_type =~ /\bboundary\s*=\s*["']?(.*?)['"]?(?:;|$)/i;