unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: ingvar <ingvar@nanosi.com>
To: Help-gnu-emacs@gnu.org
Subject: Serching for pattern down one column
Date: Mon, 24 Nov 2008 16:59:30 -0800 (PST)	[thread overview]
Message-ID: <20673287.post@talk.nabble.com> (raw)


I have a file with binary numbers in colums. Is there any way in emacs to
search for a specific pattern in a column? For example I have the file with
the following:

1  0  0  1
1  1  0  0
0  1  1  1
1  1  1  1
0  0  1  0
0  0  0  0

I now want to search for the pattern "111" in a column (it should find the
pattern in column 2 rows 2-4 and column 3 rows 3-5). Does anyone know how to
do it?

-- 
View this message in context: http://www.nabble.com/Serching-for-pattern-down-one-column-tp20673287p20673287.html
Sent from the Emacs - Help mailing list archive at Nabble.com.





             reply	other threads:[~2008-11-25  0:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-25  0:59 ingvar [this message]
2008-11-25 13:54 ` Serching for pattern down one column Paul R
2008-11-25 15:43 ` Peter Dyballa
     [not found] ` <mailman.1221.1227627817.26697.help-gnu-emacs@gnu.org>
2008-11-25 16:29   ` Chris McMahan
     [not found] <mailman.1210.1227616965.26697.help-gnu-emacs@gnu.org>
2008-11-25 13:47 ` 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=20673287.post@talk.nabble.com \
    --to=ingvar@nanosi.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).