Web lists-archives.com

Re: codesearch across lines




On Sat, Nov 11, 2017 at 5:01 AM, Roberto C. Sánchez <roberto@xxxxxxxxxx> 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