Re: codesearch across lines
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»).
Regards,
-Roberto
--
Roberto C. Sánchez
Reply to: