Tests partly implemented, bug found.
Regex for keys: fixed the bug.
Merge remote-tracking branch 'upstream/regex_on_keys' into test751
Regex on keys: completed tests.
Minor bugfix in testsuite.
Regex on keys: completed first straight version, including tests and filtering.
Merge remote-tracking branch 'upstream/regex_on_keys' into test751