summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2010-02-21 22:41:03 -0800
committerShawn O. Pearce <sop@google.com>2010-02-21 22:41:03 -0800
commit665beaac0c595e6ee2d6b7fe1a7df3cc531bf6ca (patch)
tree846ce5e535e276d5b75a0091e56001d871693ec8
parent3aa7b0dd37ea1758af52503b3b0f7b497f908434 (diff)
documentation: Describe how to do case insensitive commentlink
Change-Id: I89a3032293e7ad2dd5f1f348ea28e2fb3bd53403 Signed-off-by: Shawn O. Pearce <sop@google.com>
-rw-r--r--Documentation/config-gerrit.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/config-gerrit.txt b/Documentation/config-gerrit.txt
index 215ad3fbd2..b3586c6c6c 100644
--- a/Documentation/config-gerrit.txt
+++ b/Documentation/config-gerrit.txt
@@ -395,6 +395,11 @@ character class `\s` requires `\\s` in the configuration file. The
parser also terminates the line at the first `#`, so a match
expression containing # must be wrapped in double quotes.
+
+To match case insensitive strings, a character class with both the
+upper and lower case character for each position must be used. For
+example, to match the string `bug` in a case insensitive way the match
+pattern `[bB][uU][gG]` needs to be used.
++
A common pattern to match is `bug\\s+(\\d+)`.
[[commentlink.name.link]]commentlink.<name>.link::