Skip to content

[PROTOTYPE] [WIP] Regex for parsing taskoutput results#984

Draft
LasmarKhalifa wants to merge 1 commit into
06-23/tool-result-format-taskoutput-rexml-prototypefrom
06-23/tool-result-foramt-taskoutput-regex-prototype
Draft

[PROTOTYPE] [WIP] Regex for parsing taskoutput results#984
LasmarKhalifa wants to merge 1 commit into
06-23/tool-result-format-taskoutput-rexml-prototypefrom
06-23/tool-result-foramt-taskoutput-regex-prototype

Conversation

@LasmarKhalifa

@LasmarKhalifa LasmarKhalifa commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Regex-based parser prototype for taskoutput's tool result message.

This introduces a helper method that looks for any tag and returns its contents. It's regex-based, which means there are no issues related to unescaped characters. This also means it can be used for error_lines(as shown in this prototype).

The drawback is that in some cases, this can fail (cases such as <status>a</status>x</status>). However, we don't expect this to ever happen in our use cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant