Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #188880

Re: codesearch across lines

From kamaraju kusumanchi <raju.mailinglists@gmail.com>
Newsgroups linux.debian.user
Subject Re: codesearch across lines
Date 2017-11-11 15:30 +0100
Message-ID <uKEXf-2U0-3@gated-at.bofh.it> (permalink)
References <uKvqW-4Jq-1@gated-at.bofh.it> <uKDHP-28K-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, Nov 11, 2017 at 5:01 AM, Roberto C. Sánchez <roberto@debian.org> wrote:
> On Fri, Nov 10, 2017 at 08:18:17PM -0800, kamaraju kusumanchi wrote:
>> In codesearch.debian.net , is it possible to search for multiple words
>> that may occur across different lines and not necessarily on the same
>> line? For example, there are no results when I search for
>>
> The FAQ for codesearch.d.n states that it supportes the RE2 regular
> expression syntax, as described here:
>
> https://github.com/google/re2/blob/master/doc/syntax.txt
>
> Here is the section on available flags:
>
> Flags:
> i       case-insensitive (default false)
> m       multi-line mode: «^» and «$» match begin/end line in addition to begin/end text (default false)
> s       let «.» match «\n» (default false)
> U       ungreedy: swap meaning of «x*» and «x*?», «x+» and «x+?», etc (default false)
> Flag syntax is «xyz» (set) or «-xyz» (clear) or «xy-z» (set «xy», clear «z»).
>

Thanks. How can I specify the flag in the searches? So, in my example, I tried

pandas str /m

But that query is not finishing.

-- 
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

codesearch across lines kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2017-11-11 05:20 +0100
  Re: codesearch across lines Roberto C. Sánchez <roberto@debian.org> - 2017-11-11 14:10 +0100
    Re: codesearch across lines kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2017-11-11 15:30 +0100
      Re: codesearch across lines Curt <curty@free.fr> - 2017-11-11 18:10 +0100
        Re: codesearch across lines kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2017-11-12 00:00 +0100
          Re: codesearch across lines Curt <curty@free.fr> - 2017-11-12 12:00 +0100
            Re: codesearch across lines The Wanderer <wanderer@fastmail.fm> - 2017-11-12 14:20 +0100
              Re: codesearch across lines Curt <curty@free.fr> - 2017-11-12 15:30 +0100
                Re: codesearch across lines Richard Owlett <rowlett@cloud85.net> - 2017-11-12 16:20 +0100

csiph-web