+matches (regex: String): boolean Returns true if this string matches the pattern. +replaceAll (regex: String, replacement: String): String Returns a new string that replaces all matching substrings ...
The initial focus of this implementation has been feature support and functionality over performance. It currently supports a sufficient number of regex features to be considered useful, including ...
Start by establishing a handful of test cases - core use cases and failure cases that you want to ensure your prompt can handle. As you explore modifications to the prompt, use promptfoo eval to rate ...