Build, test, and debug regular expressions
This regex matches a specific natural language test step commonly used in Cucumber or BDD testing frameworks. It captures the item being selected, the target for a generated print statement, and an associated value to use. It is ideal for automated testing workflows that translate plain-text Gherkin instructions into executable code for output generation.