HF RL Explorer

Task: Demonstrate JavaScript Regex Flags /gi Behavior

Task: Demonstrate JavaScript Regex Flags /gi Behavior: a task in Terminal-Lego-15k (Harbor dataset). Create a JavaScript program that demonstrates the behavior of regex flags g (global) and i (case-insensitive) by showing how they affect pattern matching results.

The task

Create a JavaScript program that demonstrates the behavior of regex flags `g` (global) and `i` (case-insensitive) by showing how they affect pattern matching results.

Part of PrimeIntellect/Terminal-Lego-15k.