precision on email_filter

The filtering regexp should not allow greedy matchers (such as .*) but
use non greedy ones (such as .*?).  One want to escape dots as well.

Additionally, whenever one want to add several emails, he should use a
YAML list.

Change-Id: I9deea0893151358ddde9b1ec5a40c322c45d7ff2
Reviewed-by: James E. Blair <>
Approved: James E. Blair <>
Tested-by: Jenkins
Antoine Musso 10 years ago committed by Jenkins
parent cf429f325d
commit 5f1104216a
  1. 5

@ -254,7 +254,10 @@ explanation of each of the parameters::
This is used for any event. It takes a regex applied on the performer
email. Example: ``email_filter: .*$``.
email, i.e Gerrit account email address. If you want to specify
several email filters, you must use a YAML list. Make sure to use non
greedy matchers and to escapes dots!
Example: ``email_filter: ^.*?@example\.org$``.
This is only used for ``comment-added`` events. It accepts a list of