From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Regex Problem Date: Wed, 23 Jul 2008 12:57:19 -0700 Message-ID: <000601c8ecfe$50a30b50$0ab32382@us.oracle.com> References: <1cfae3eb-8300-4a47-9643-66c8a30cef49@v39g2000pro.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1216843108 32487 80.91.229.12 (23 Jul 2008 19:58:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Jul 2008 19:58:28 +0000 (UTC) To: "'Thr4wn'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 23 21:59:17 2008 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 1KLkUU-0005Pg-Qw for geh-help-gnu-emacs@m.gmane.org; Wed, 23 Jul 2008 21:59:15 +0200 Original-Received: from localhost ([127.0.0.1]:32940 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLkTb-0002yu-Fg for geh-help-gnu-emacs@m.gmane.org; Wed, 23 Jul 2008 15:58:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KLkT1-0002o5-3N for help-gnu-emacs@gnu.org; Wed, 23 Jul 2008 15:57:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KLkSz-0002mk-7U for help-gnu-emacs@gnu.org; Wed, 23 Jul 2008 15:57:42 -0400 Original-Received: from [199.232.76.173] (port=43812 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLkSz-0002mT-1k for help-gnu-emacs@gnu.org; Wed, 23 Jul 2008 15:57:41 -0400 Original-Received: from agminet01.oracle.com ([141.146.126.228]:17320) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KLkSy-0005Ua-BU for help-gnu-emacs@gnu.org; Wed, 23 Jul 2008 15:57:40 -0400 Original-Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id m6NJvQVj024557; Wed, 23 Jul 2008 14:57:26 -0500 Original-Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m6NIE5nh020343; Wed, 23 Jul 2008 13:57:26 -0600 Original-Received: from inet-141-146-46-1.oracle.com by acsmt355.oracle.com with ESMTP id 11001752781216843036; Wed, 23 Jul 2008 12:57:16 -0700 Original-Received: from dradamslap1 (/130.35.179.10) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 23 Jul 2008 12:57:16 -0700 X-Mailer: Microsoft Office Outlook 11 thread-index: Acjs+/h9uACXQmWzR82eB+5vaYHl1wAAi38A X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 In-Reply-To: <1cfae3eb-8300-4a47-9643-66c8a30cef49@v39g2000pro.googlegroups.com> X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:55867 Archived-At: > > You can, but you should most definitely not. It just makes the text > > hard to read or edit in anything other than Emacs. Just use \n. > > That's a good point, I didn't think about that. > > However, whenever I try to use \n in my regex searches, emacs does not > seem to recognize that as a newline. the regexp syntax documentation > also does not seem to mention any way to refer to a newline. > Am I just missing something? Interactively (e.g. C-M-s), you must use an actual newline character (via C-q j), not \n.