HF RL Explorer

Task: Count Number of Regex Matches in JavaScript

Task: Count Number of Regex Matches in JavaScript: a task in Terminal-Lego-15k (Harbor dataset). Write a JavaScript program that correctly counts the number of whitespace characters (spaces, tabs, and newlines) in a given text using a regular expression.

Part of PrimeIntellect/Terminal-Lego-15k.