+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 ...
scrutinized a Regular Expression while trying to visualize what it does and doesn't match? crafted a list of strings to test whether a Regular Expression is working as intended? needed to generate ...
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 ...