HF RL Explorer

Regex Optional Character Matching Task

Regex Optional Character Matching Task: a task in Terminal-Lego-15k (Harbor dataset). Create a script that uses regular expressions to parse structured data strings, correctly handling an optional single letter character that may or may not be present in the input.

The task

Create a script that uses regular expressions to parse structured data strings, correctly handling an optional single letter character that may or may not be present in the input.

Part of PrimeIntellect/Terminal-Lego-15k.