148
152
ok = couch_config:register(
153
fun("admins", _Key, _Value, Persist) ->
150
154
% spawn here so couch_config doesn't try to call itself
153
157
{ok, RegExp} = re:compile("^[a-z][a-z0-9\\_\\$()\\+\\-\\/]*$"),
154
158
ets:new(couch_dbs_by_name, [set, private, named_table]),
155
159
ets:new(couch_dbs_by_pid, [set, private, named_table]),