Documenting when different regexp libraries are used

The documentation hasn't been clear on which regular expression
implementations were used when e.g. interpreting different
configuration variables. In trivial cases this doesn't matter
as most regular expression metacharacters are widely supported,
but for complex expressions it can be beneficial to know.

Change-Id: I2a479aba68779cf857dac9999bc4a90ac2685838
This commit is contained in:
Magnus Bäck
2011-02-02 08:57:15 +01:00
committed by Ulrik Sjölin
parent 528c3de81f
commit e56118329b
4 changed files with 35 additions and 12 deletions

View File

@@ -34,8 +34,10 @@ In order to use permissions beyond those granted to the
`Anonymous Users` and `Registered Users` groups, an account
must only have OpenIDs which match at least one pattern from the
`auth.trustedOpenID` list in `gerrit.config`. Patterns may be
either a regular expression (must start with `^` and end with `$`)
or be a simple prefix (any other string).
either a
link:http://download.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html[standard
Java regular expression (java.util.regex)] (must start with `^`
and end with `$`) or be a simple prefix (any other string).
Out of the box Gerrit is configured to trust two patterns, which
will match any OpenID provider on the Internet: