OpenGrok Search Tips

index

 

+ Represents a string comprising, - comprising string represents. For example, the search string contains Full Search activity but does not contain the source file service string, can fill + "activity" - "service" ( double quote can also be removed, but for an integral term and spaces therebetween comprising double quotes can not go , this rule applicable
to all search rules, such as Full Search "final String", or double quotation marks removal represents the relationship between this and Google search rules are the same);

And only use double quotes, single quotes ineffective.

Boolean operations , you can use AND (&&), "+" , OR (||), NOT and (!) "-" (AND, etc. must be all uppercase), for example, the search includes both final and String containing the source code files, you can Full Search fill "final" AND "String";

Using wildcards , represents a character, "*" represents multiple characters (and "*" at the beginning of the string can not be used to "?") "?";

Fuzzy query , you can use the contents of "~" contains the search string with spelling similar to that provided source code files;

Escape character , OpenGrok to use special characters are + - && || () {} [] ^ "~ *: \, so if you need to search the content contained in these special characters, you can use \ to escape!? such as search (1 + 1): 2,
can such a backslash (1 +1 backslash backslash) backslash: 2 but does not seem to know why not.

Why is there a "slash" instead of directly \. Because invisible after editing.
 

Published 112 original articles · won praise 3 · Views 9738

Guess you like

Origin blog.csdn.net/yush34/article/details/102671246