!function(e){"object"==typeof module&&"object"==typeof module.exports?e(require,exports):"function"==typeof define&&define.amd&&define(["require","exports","../../Validation"],e)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=e("../../Validation"),e=(i.prototype.execute=function(e){var t=o.validation.string("text",e.text,o.validation.never),i=o.validation.string("pattern",e.pattern,o.validation.never),n=o.validation.string("replacement",e.replacement,""),e="g"+(e.ignoreCase?"i":"")+(e.multiline?"m":""),e=new RegExp(i,e);return{result:t.replace(e,n)}},i.action="gcx:wf:core::RegexReplace",i.suite="gcx:wf:builtin",i);function i(){}t.RegexReplace=e});