Merge branch 'stable-2.16' into stable-3.0
* stable-2.16:
Documentation: Escape <= characters in user-search.txt
Documentation: Provide examples for advanced regexp searching
Change-Id: Ie18c40745ebfaca7a6ca0dd672b6aca86bbf36be
diff --git a/Documentation/user-search.txt b/Documentation/user-search.txt
index cafd5ca..6c4b78b 100644
--- a/Documentation/user-search.txt
+++ b/Documentation/user-search.txt
@@ -279,6 +279,11 @@
`file:"^name[1-3].xml"`.
+
Slash ('/') is used path separator.
++
+More examples:
+* `-file:^path/.*` - changes that do not modify files from `path/`,
+* `file:{^~(path/.*)}` - changes that modify files not from `path/` (but may
+contain files from `path/`).
[[file]]
file:'NAME', f:'NAME'::
@@ -490,7 +495,7 @@
For example, added:>50 will be true for any change which adds at least 50
lines.
+
-Valid relations are >=, >, <=, <, or no relation, which will match if the
+Valid relations are >=, >, \<=, <, or no relation, which will match if the
number of lines is exactly equal.
[[commentby]]
@@ -542,7 +547,7 @@
For example, unresolved:>0 will be true for any change which has at least one unresolved
comment while unresolved:0 will be true for any change which has all comments resolved.
+
-Valid relations are >=, >, <=, <, or no relation, which will match if the number of unresolved
+Valid relations are >=, >, \<=, <, or no relation, which will match if the number of unresolved
comments is exactly equal.
== Argument Quoting
@@ -659,7 +664,7 @@
Matches changes with a +1 code review where the reviewer is in the
ldap/linux.workflow group.
-`label:Code-Review<=-1`::
+`label:Code-Review\<=-1`::
+
Matches changes with either a -1, -2, or any lower score.