Is it supported to put anything other than an anonymous function in the validate_doc_update field of a design document?
For example:
var a = /bla/;
function (doc, oldDoc, userCtx, secObj) {
if (!a.test(doc._id)) ...
}
is it supported or it can work only by coincidence.
Thanks,
Marcello
