HF RL Explorer

Task: Regex to Match Any ASCII Character Between Delimiters

Task: Regex to Match Any ASCII Character Between Delimiters: a task in Terminal-Lego-15k (Harbor dataset). Write a script that uses a regular expression to match patterns of the form xxx<any ASCII characters, including spaces xxx from an input file. The regex must correctly match one or more ASCII…

The task

Write a script that uses a regular expression to match patterns of the form `xxx<any ASCII characters, including spaces>xxx` from an input file. The regex must correctly match one or more ASCII characters (character codes 0–127), **including spaces and special characters**, between the `xxx` delimiters.

Part of PrimeIntellect/Terminal-Lego-15k.