Skip to content

RegExp

3 wrappers generated from RegExp and RegExp.prototype. Every entry takes a single object literal whose keys mirror the original parameter names, plus an optional prompt: string for the LLM path.

MethodFirst signature
compile
compile(input: { regExp: <receiver>; pattern: string; flags?: string; prompt?: string }): Promise<RegExp>
exec
exec(input: { regExp: <receiver>; string: string; prompt?: string }): Promise<RegExpExecArray>
test
test(input: { regExp: <receiver>; string: string; prompt?: string }): Promise<boolean>