import{validation}from"../../Validation.js";class RegexMatches{execute(e){var t=validation.string("text",e.text,validation.never),a=validation.string("pattern",e.pattern,validation.never),e="g"+(e.ignoreCase?"i":"")+(e.multiline?"m":"");const i=new RegExp(a,e);return{result:i.test(t)}}}RegexMatches.action="gcx:wf:core::RegexMatches",RegexMatches.suite="gcx:wf:builtin";export{RegexMatches};