From: Nobuko Three <nbko3@yahoo.com>
To: Help-gnu-emacs@gnu.org
Subject: replacing two consecutive words where the two words could be separated by multiple spaces or newlines.
Date: Fri, 17 Apr 2009 01:06:00 -0700 (PDT) [thread overview]
Message-ID: <23093020.post@talk.nabble.com> (raw)
I wanted to replace all occurrences of `a integer' with `an integer' in a
latex file. But a simple query replace would replace the first `a integer'
of the following paragraph, but not the second one because the second one is
actually separated by a newline and two spaces (the indent).
This is a integer. That is a
integer. ...
What is an automated way to change paragraphs like above to paragraphs like
below?
This is an integer. That is an
integer. ...
--
View this message in context: http://www.nabble.com/replacing-two-consecutive-words-where-the-two-words-could-be-separated-by-multiple-spaces-or-newlines.-tp23093020p23093020.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
next reply other threads:[~2009-04-17 8:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-17 8:06 Nobuko Three [this message]
2009-04-17 8:18 ` replacing two consecutive words where the two words could be separated by multiple spaces or newlines David Engster
[not found] ` <mailman.5514.1239956322.31690.help-gnu-emacs@gnu.org>
2009-04-19 4:43 ` jpkotta
2009-04-21 1:01 ` Kevin Rodgers
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=23093020.post@talk.nabble.com \
--to=nbko3@yahoo.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.
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).