Re: codesearch across lines

2017-11-12 Thread Richard Owlett
On 11/12/2017 08:23 AM, Curt wrote: On 2017-11-12, The Wanderer wrote: (?m)(\W|^)panda.*str(\W|$) That would be expected to find only documents containing 'panda' followed by 'str'. To also find ones which contain 'str' followed by 'pandas' (and add the missing 's'

Re: codesearch across lines

2017-11-12 Thread Curt
On 2017-11-12, The Wanderer wrote: > >> (?m)(\W|^)panda.*str(\W|$) > > That would be expected to find only documents containing 'panda' > followed by 'str'. To also find ones which contain 'str' followed by > 'pandas' (and add the missing 's' back in), you'd probably want: >

Re: codesearch across lines

2017-11-12 Thread The Wanderer
On 2017-11-12 at 05:57, Curt wrote: > On 2017-11-11, kamaraju kusumanchi > wrote: > >> On Sat, Nov 11, 2017 at 9:08 AM, Curt wrote: >>> '(?i) PanDas' seemed to work. >>> >> Ok. That works and does case insensitive search. But the >> corresponding

Re: codesearch across lines

2017-11-12 Thread Curt
On 2017-11-11, kamaraju kusumanchi wrote: > On Sat, Nov 11, 2017 at 9:08 AM, Curt wrote: >> On 2017-11-11, kamaraju kusumanchi wrote: >>> >>> Thanks. How can I specify the flag in the searches? So, in my example, I >>>

Re: codesearch across lines

2017-11-11 Thread kamaraju kusumanchi
On Sat, Nov 11, 2017 at 9:08 AM, Curt wrote: > On 2017-11-11, kamaraju kusumanchi wrote: >> >> 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. >> > > '(?i)

Re: codesearch across lines

2017-11-11 Thread Curt
On 2017-11-11, kamaraju kusumanchi wrote: > > 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. > '(?i) PanDas' seemed to work. -- "A simpering Bambi narcissist and a thieving,

Re: codesearch across lines

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

Re: codesearch across lines

2017-11-11 Thread Roberto C . Sánchez
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 across lines

2017-11-10 Thread kamaraju kusumanchi
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 pandas str filetype:python which probably happens because it looks for lines that contain