From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Michael Chen" Newsgroups: gmane.emacs.help Subject: how can I make regexp expression effective across many lines Date: Mon, 29 Jan 2007 15:01:29 -0600 Message-ID: <71ab86070701291301q34ea49e8ked19710cad016517@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1170104520 28452 80.91.229.12 (29 Jan 2007 21:02:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 29 Jan 2007 21:02:00 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 29 22:01:49 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HBddJ-0001Lp-C1 for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Jan 2007 22:01:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HBddI-0001eh-V2 for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Jan 2007 16:01:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HBdd7-0001eb-Az for help-gnu-emacs@gnu.org; Mon, 29 Jan 2007 16:01:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HBdd5-0001eH-U5 for help-gnu-emacs@gnu.org; Mon, 29 Jan 2007 16:01:33 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HBdd5-0001eE-NM for help-gnu-emacs@gnu.org; Mon, 29 Jan 2007 16:01:31 -0500 Original-Received: from ug-out-1314.google.com ([66.249.92.175]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HBdd5-0004lJ-55 for help-gnu-emacs@gnu.org; Mon, 29 Jan 2007 16:01:31 -0500 Original-Received: by ug-out-1314.google.com with SMTP id j3so1538880ugf for ; Mon, 29 Jan 2007 13:01:30 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=PYJkPPx98nDNsTyCvuExDSV3HwfUTCeGVBZsDZSCVGk2teFr91DIM2AbrWXAdgVIPeJBxvBi52t1mFZTrZ1U3/4a2FGdTnsLQJvFO+bRsk9zKIC8vYfL2HnnsDTuY/sqD2P6prE36482+8g84/mJ50Bua+Eu9hZgzT3cDiAlaHk= Original-Received: by 10.82.183.19 with SMTP id g19mr4036712buf.1170104489704; Mon, 29 Jan 2007 13:01:29 -0800 (PST) Original-Received: by 10.78.204.18 with HTTP; Mon, 29 Jan 2007 13:01:29 -0800 (PST) Content-Disposition: inline X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:40736 Archived-At: Hi, there, I have problem with newlines in regexp. Here is what I want to do: delete anything between
to TIP OF THE WEEK inclusively. There are many lines in between. Any regex I tried can not go through the newline. Any idea? Thanks. Michael Chen