From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: GianUberto.Lauri@eng.it (Gian Uberto Lauri) Newsgroups: gmane.emacs.help Subject: Regexp to match any character, including newline? Date: Mon, 6 Oct 2003 10:20:09 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <16257.9657.880756.550500@mail.eng.it> References: Reply-To: saint@eng.it NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1065428043 4381 80.91.224.253 (6 Oct 2003 08:14:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 6 Oct 2003 08:14:03 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 06 10:14:01 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A6QVE-0003gg-00 for ; Mon, 06 Oct 2003 10:14:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A6QTz-0002Ti-EX for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Oct 2003 04:12:43 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1A6QTj-0002PR-S3 for help-gnu-emacs@gnu.org; Mon, 06 Oct 2003 04:12:27 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1A6QTD-0002HA-RV for help-gnu-emacs@gnu.org; Mon, 06 Oct 2003 04:12:26 -0400 Original-Received: from [217.169.111.37] (helo=mx2.fabbricadigitale.it) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A6QSd-0002CU-UE for help-gnu-emacs@gnu.org; Mon, 06 Oct 2003 04:11:20 -0400 Original-Received: from localhost (mx2.fabbricadigitale.it [127.0.0.1]) by mx2.fabbricadigitale.it (MM4Csmtpd) with ESMTP id 4640A67DAF for ; Mon, 6 Oct 2003 10:11:18 +0200 (CEST) Original-Received: from smtp (host29-81.pool8020.interbusiness.it [80.20.81.29]) by mx2.fabbricadigitale.it (MM4Csmtpd) with SMTP id 8CAC267D9D for ; Mon, 6 Oct 2003 10:11:16 +0200 (CEST) Original-Received: FROM mail1.mx.regione.veneto.it BY smtp ; Mon Oct 06 10:11:53 2003 +0200 Original-Received: from [192.168.150.254] by mail1.mail.regione.veneto.it (NTMail 7.00.0018/NU7795.00.48ac7402) with ESMTP id lsxdxbaa for help-gnu-emacs@gnu.org; Mon, 6 Oct 2003 10:15:32 +0200 Original-To: Joe Fineman Original-Newsgroups: gnu.emacs.help In-Reply-To: X-Mailer: VM 7.07 under Emacs 21.2.1 X-attribution: CC X-Home-Page: http://www.gest.unipd.it/~saint X-Zippy: Is this an out-take from the ``BRADY BUNCH''? X-Razor-id: c8757ec5d5b6d3114503a6229005add509be0840 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.emacs.help:13010 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13010 >>>>> "JF" == Joe Fineman writes: JF> It is sometimes a nuisance that "." in a regexp does not match JF> newlines. For example, I want a regexp for text in parentheses that JF> contains the word "and" followed (anywhere) by a date. JF> (.+ and .+ [1-2][0-9][0-9][0-9].+) What about something like: \(.*[\n]\) ;; Warning, can cause regexp stack overflow. font-lock has should font-lock-multiline (HOW????) since Emacs 21 /\ ___ /___/\__|_|\_|__|___Gian Uberto Lauri_____________________ //--\ | | \| | Integralista GNUslamico e fancazzista \/