all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Thr4wn'" <Seth.A.Bird@gmail.com>, <help-gnu-emacs@gnu.org>
Subject: RE: Regex Problem
Date: Wed, 23 Jul 2008 12:57:19 -0700	[thread overview]
Message-ID: <000601c8ecfe$50a30b50$0ab32382@us.oracle.com> (raw)
In-Reply-To: <1cfae3eb-8300-4a47-9643-66c8a30cef49@v39g2000pro.googlegroups.com>

> > 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.





  reply	other threads:[~2008-07-23 19:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.15059.1216536041.18990.help-gnu-emacs@gnu.org>
2008-07-20  7:48 ` Regex Problem Xah
2008-07-21 16:23   ` John Paul Wallington
2008-07-21 21:47 ` Thr4wn
2008-07-22 12:29   ` Nikolaj Schumacher
     [not found]   ` <mailman.15163.1216729783.18990.help-gnu-emacs@gnu.org>
2008-07-23 19:30     ` Thr4wn
2008-07-23 19:57       ` Drew Adams [this message]
2008-07-23 22:36         ` Bernardo Bacic
2008-07-23 22:43           ` Drew Adams
2008-07-24 11:18       ` Nikolaj Schumacher
2008-07-19 17:50 travis jeffery

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000601c8ecfe$50a30b50$0ab32382@us.oracle.com' \
    --to=drew.adams@oracle.com \
    --cc=Seth.A.Bird@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.