HF RL Explorer

Task: Regex to Match One of Two Words

Task: Regex to Match One of Two Words: a task in Terminal-Lego-15k (Harbor dataset). You need to create a validation script that uses a regular expression to check if an input string matches exactly one of two allowed values: apple or banana .

The task

You need to create a validation script that uses a regular expression to check if an input string matches exactly one of two allowed values: `apple` or `banana`.

Part of PrimeIntellect/Terminal-Lego-15k.