Ruby Replace String with Captured Regex Pattern
Ruby Replace String with Captured Regex Pattern: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Ruby script that extracts a specific code pattern from strings using regular expression capture groups.
The task
You need to write a Ruby script that extracts a specific code pattern from strings using regular expression capture groups.
Part of PrimeIntellect/Terminal-Lego-15k.