News

Regular expressions are patterns that provide a powerful way to search and replace in text. In JavaScript, they are available via the RegExp object, as well as being integrated in methods of strings.
The first time I ever encountered a regular expression was many years ago now, but I still remember my first thoughts on it: What is this string-like thing? I don’t want to touch it, it looks scary. I ...
Although regular expressions may seem daunting at first glance, once you get the hang of them, they can save you a lot of time and help you write more efficient and effective code. Here’s a ...
I first heard about regular expression denial of service (ReDoS) vulnerabilities from GitHub's Dependabot. Several of my projects over the years have had dependencies that suffered from ReDoS ...
Abstract: Regular expressions are notoriously difficult to get right, with developers often having to resort to trial-and-error approaches. Even so, little attention ...