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