Open
Description
Context
Currently, using the Output Parser requires providing a correct regex pattern. However, if the regex is incorrect, no findings are returned, and there is no clear feedback about why. This makes it difficult for users to debug and optimize their regex patterns.
Problems Identified
No direct feedback : If the regex is incorrect, users receive no findings but don't know why.
Hard to validate correctness : Users need to manually verify if their regex extracts the correct data from their stdout.
Use case
Current Workaround
Users must go to Regex101 or similar tools to test their regex.
Proposed Solution
Suggested Solutions
- Inline Regex Tester: Provide a small test area where users can input a simple stdout and their regex.
- AI-Powered Regex Suggestions: Implement an AI assistant that suggests regex patterns based on stdout.
- Error Messages & Debugging Info: If the regex doesn't match anything, provide meaningful feedback, such as:
"Your regex did not match any output."
If the feature request is approved, would you be willing to submit a PR?
Yes