Task: Regex Optional Word Match
Task: Regex Optional Word Match: a task in Terminal-Lego-15k (Harbor dataset). Create a script that uses a regular expression to extract singer(s) and optionally lyricist(s) from a multi-line text file. The regex must handle cases where the "Lyricist" field is present AND cases where it is absent.
The task
Create a script that uses a regular expression to extract singer(s) and optionally lyricist(s) from a multi-line text file. The regex must handle cases where the "Lyricist" field is present AND cases where it is absent.
Part of PrimeIntellect/Terminal-Lego-15k.