Hi mcc,

On Sat, Mar 14, 2015 at 12:37 AM, <[email protected]> wrote:

>
> Hi,
>
> I have a logfiles (Gentoo: 'qcheck -a' ), which contains lines like:
>
> Checking dev-lua/luasocket-3.0_rc1-r3 ...
>   * 69 out of 69 files are good
>
> Lines contains "<number_a> out of <number_b> files are good"
>
> Is it possible to find all lines, where "<number_a>" differs from
> "<number_b>" ? Does work backrefrences here?
>

I was able to find the lines in question with the following search

/\(.\) out of \1\@!.*files match

Here, \@! makes sure that \1 (which refers to the \(.\) capturing group
that contains the first number found) does not match at that position.

Does this work for you?

Ethan Alan


> Best regards,
> mcc
>
>
>
> --
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups
> "vim_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to