HF RL Explorer

Dart RegEx Pattern Matching Task

Dart RegEx Pattern Matching Task: a task in Terminal-Lego-15k (Harbor dataset). In Dart (and Flutter), regular expressions are handled differently from JavaScript. When copying a regex pattern from JavaScript to Dart, developers often incorrectly include the JavaScript regex delimiters ( / ) and…

The task

In Dart (and Flutter), regular expressions are handled differently from JavaScript. When copying a regex pattern from JavaScript to Dart, developers often incorrectly include the JavaScript regex delimiters (`/`) and flags (`/i`) as part of the pattern string.

Part of PrimeIntellect/Terminal-Lego-15k.