code: function (element, value) {
  /*Line 213 - 'AtomControl.js' */        var vf = function () {
  /*Line 214 - 'AtomControl.js' */            return $(element).val();
  /*Line 215 - 'AtomControl.js' */        };
  /*Line 216 - 'AtomControl.js' */        var validator = function (v) {
  /*Line 217 - 'AtomControl.js' */            var r = value;
  /*Line 218 - 'AtomControl.js' */            if (typeof r == 'string' || r.constructor == String) {
  /*Line 219 - 'AtomControl.js' */                if (!(/^\//.test(r) || /(\/)|(\/i)$/.test(r))) {
  /*Line 220 - 'AtomControl.js' */                    r = "/" + r + "/";
  /*Line 221 - 'AtomControl.js' */                }
  /*Line 222 - 'AtomControl.js' */                r = eval(r);
  /*Line 223 - 'AtomControl.js' */            }
  /*Line 224 - 'AtomControl.js' */            return r.test(v) ? null : "Invalid";
  /*Line 225 - 'AtomControl.js' */        };
  /*Line 226 - 'AtomControl.js' */        AtomProperties.validate({
  /*Line 227 - 'AtomControl.js' */            control: this,
  /*Line 228 - 'AtomControl.js' */            element: element,
  /*Line 229 - 'AtomControl.js' */            value: value,
  /*Line 230 - 'AtomControl.js' */            key: "regex",
  /*Line 231 - 'AtomControl.js' */            eventName: "change,blur",
  /*Line 232 - 'AtomControl.js' */            valueFunction: vf,
  /*Line 233 - 'AtomControl.js' */            validator: validator
  /*Line 234 - 'AtomControl.js' */        });
  
  /*Line 236 - 'AtomControl.js' */    }
docs: /*Line 212 - 'AtomControl.js'