HF RL Explorer

Task: Extract All Key-Value Pairs from Bracketed String Using JavaScript Regex

Task: Extract All Key-Value Pairs from Bracketed String Using JavaScript Regex: a task in Terminal-Lego-15k (Harbor dataset). The format rules are: - The entire record is enclosed in square brackets and - Each entry is a key:"value" pair - There are no spaces around the colons - Values are always…

The task

The format rules are: - The entire record is enclosed in square brackets `[` and `]` - Each entry is a `key:"value"` pair - There are **no spaces** around the colons - Values are always enclosed in **double quotes** - Pairs are separated by spaces - Keys and values can contain any characters except spaces (keys) and…

Part of PrimeIntellect/Terminal-Lego-15k.