Tips for making regular expressions easier to use in JavaScript
Tips for making JavaScript regex more readable using flags, named capture groups, whitespace, and the Regex+ library.
Tips for making JavaScript regex more readable using flags, named capture groups, whitespace, and the Regex+ library.
Explains ECMAScript 2025's new regular expression pattern modifiers, allowing flags like case-insensitivity to be applied to specific parts of a regex.
Learn how to use JavaScript regular expressions to extract numbers from strings, a common task when processing user input from forms.
The author explores routing in web frameworks and details the implementation of a flat-list routing system for their Lua-based Atlas framework.
Explores teaching approaches: starting with general rules vs. specific cases, using regex quantifiers as a primary example.
A JavaScript developer proposes a shorter, regex-based function for reading browser cookies, criticizing verbose mainstream solutions.