HF RL Explorer

Task: Concatenate Regex Literals in JavaScript

Task: Concatenate Regex Literals in JavaScript: a task in Terminal-Lego-15k (Harbor dataset). In JavaScript, you cannot directly concatenate regex literals using the + operator — doing so converts them to strings first, producing unintended results. Your task is to write a JavaScript utility…

The task

In JavaScript, you cannot directly concatenate regex literals using the `+` operator — doing so converts them to strings first, producing unintended results. Your task is to write a JavaScript utility module that provides a clean way to concatenate multiple regex literals (and/or regex strings) into a single combined…

Part of PrimeIntellect/Terminal-Lego-15k.