help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Serching for pattern down one column


From: aartist
Subject: Re: Serching for pattern down one column
Date: Tue, 25 Nov 2008 05:47:57 -0800 (PST)
User-agent: G2/1.0

On Nov 24, 7:59 pm, ingvar <ing...@nanosi.com> wrote:
> 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-tp20673287...
> Sent from the Emacs - Help mailing list archive at Nabble.com.

Consider converting columns into rows and search via regexp.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]