unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "rgb" <rbielaws@i1.net>
Subject: Re: regex search and replace
Date: 24 Oct 2006 08:37:54 -0700	[thread overview]
Message-ID: <1161704274.003567.19990@f16g2000cwb.googlegroups.com> (raw)
In-Reply-To: <m3u01wja7z.fsf@localhost.localdomain>


> but when I replace end-of-line with (", ") it still leaves an
> end-of-line after (", ").
> that is it does not convert the lines to one lone line in the form
> xxx/yyy, ...,"aaa/bbb"
>
> the command I used was
> replace-regex<ret>$<ret>", "<ret>

Use this insted:

replace-regex<ret>C-q C-j<ret>", "<ret>

  parent reply	other threads:[~2006-10-24 15:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-22 21:12 regex search and replace Gary Wessle
2006-10-22 21:45 ` Gary Wessle
2006-10-22 23:24   ` Peter Dyballa
2006-10-24 15:37   ` rgb [this message]
2006-10-22 22:08 ` Alexis Roda
2006-10-23 13:29 ` aartist

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=1161704274.003567.19990@f16g2000cwb.googlegroups.com \
    --to=rbielaws@i1.net \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).