If !ValidationTextBox.pattern is a function, then !ValidationTextBox.get("pattern") should return that function, rather than the result of the function.  Also, _setRegExpGenAttr() should use this._set() to save the value.  Refs #13433, #16693 !strict.