Task: Extract Regex Captured Groups from Files
Task: Extract Regex Captured Groups from Files: a task in Terminal-Lego-15k (Harbor dataset). When working with text files on the command line, a common challenge is not just finding lines that match a regular expression, but extracting only the captured group portion of the match — the part…
The task
When working with text files on the command line, a common challenge is not just finding lines that match a regular expression, but extracting only the **captured group** portion of the match — the part inside parentheses in the regex pattern — rather than the full match itself. This task tests your ability to use…
Part of PrimeIntellect/Terminal-Lego-15k.