diff --git a/CHANGES b/CHANGES
index 34f4c1cb3e05ca1378cc0a8586548fab89020adc..247fb5f20c0a364a4793f1242c70a05a36ef7c86 100644
--- a/CHANGES
+++ b/CHANGES
@@ -51,6 +51,7 @@ OpenLDAP 2.4.22 Engineering
 	Documentation
 		admin24 avoid explicity moduleload statements (ITS#6486)
 		admin24 broken link fixes (ITS#6493,ITS#6515)
+	        slapd.access(5) val.regex explanation (ITS#5804)
 
 OpenLDAP 2.4.21 Release (2009/12/20)
 	Fixed liblutil for negative microsecond offsets (ITS#6405)
diff --git a/doc/man/man5/slapd.access.5 b/doc/man/man5/slapd.access.5
index 8d92cb81e40c4a73c01afcbee81795d4edefa94f..f0aef0e5b1ea53496af41d6b328e30385469138f 100644
--- a/doc/man/man5/slapd.access.5
+++ b/doc/man/man5/slapd.access.5
@@ -257,6 +257,24 @@ resulting in base, onelevel, subtree or children match, respectively.
 The dn, filter, and attrs statements are additive; they can be used in sequence 
 to select entities the access rule applies to based on naming context,
 value and attribute type simultaneously.
+Submatches resulting from
+.B regex
+matching can be dereferenced in the
+.B <who>
+field using the syntax
+.IR ${v<n>} ,
+where
+.I <n>
+is the submatch number.
+The default syntax,
+.IR $<n> ,
+is actually an alias for
+.IR ${d<n>} ,
+that corresponds to dereferencing submatches from the
+.B dnpattern
+portion of the
+.B <what>
+field.
 .SH THE <WHO> FIELD
 The field
 .B <who>