DEV Community

Regular Expressions

A regular expression (shortened as regex or regexp also referred to as regular expression) is a sequence of characters that specifies a search pattern.

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
I built a regex debugger that shows every backtrack (flame graph included)

I built a regex debugger that shows every backtrack (flame graph included)

Comments
3 min read
Testing automata-theory exercises in the browser: a regex flavor for CS coursework

Testing automata-theory exercises in the browser: a regex flavor for CS coursework

Comments
2 min read
Benchmarking regex patterns properly: P95/P99, equivalence checks, real engines

Benchmarking regex patterns properly: P95/P99, equivalence checks, real engines

Comments
2 min read
Your Regex Works in Python but Breaks in JavaScript - Here's Why

Your Regex Works in Python but Breaks in JavaScript - Here's Why

Comments
2 min read
One Regular Expression Held the Server for Forty Seconds

One Regular Expression Held the Server for Forty Seconds

1
Comments
2 min read
Regex Cheatsheet for Beginners (With Copy-Paste Examples)

Regex Cheatsheet for Beginners (With Copy-Paste Examples)

Comments
3 min read
Cloudflare outage 2019: how one regex caused 27 minutes of 502s

Cloudflare outage 2019: how one regex caused 27 minutes of 502s

1
Comments
8 min read
Your test fixtures are lying to you: what 13 real Minecraft crash reports taught me

Your test fixtures are lying to you: what 13 real Minecraft crash reports taught me

1
Comments
5 min read
Regular Expressions Without the Fear

Regular Expressions Without the Fear

Comments
3 min read
Regular Expressions Without the Fear

Regular Expressions Without the Fear

Comments
3 min read
How I built a VS Code extension that draws Railroad diagrams for regex and catches ReDoS

How I built a VS Code extension that draws Railroad diagrams for regex and catches ReDoS

1
Comments
4 min read
I scraped 89 job postings to find out how my salary parser was lying to me

I scraped 89 job postings to find out how my salary parser was lying to me

Comments
9 min read
Four filters returned nothing and I read all four as nothing being there

Four filters returned nothing and I read all four as nothing being there

6
Comments
3 min read
I ran my file-type detector over 8,900 real files. It was wrong in ways no test suite would have told me

I ran my file-type detector over 8,900 real files. It was wrong in ways no test suite would have told me

Comments
16 min read
Regex Against a PDF: The One Endpoint That Skips OCR Entirely

Regex Against a PDF: The One Endpoint That Skips OCR Entirely

Comments
6 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.