Regex 'Two Problems' Quote

The cluster revolves around the famous Jamie Zawinski quote stating that using regular expressions on a problem creates two problems, with discussions debating regex readability, maintainability, appropriate use cases, and alternatives like parsers.

📉 Falling 0.4x Programming Languages
3,027
Comments
20
Years Active
5
Top Authors
#7285
Topic ID

Activity Over Time

2007
4
2008
19
2009
69
2010
74
2011
99
2012
126
2013
192
2014
115
2015
168
2016
241
2017
124
2018
165
2019
179
2020
256
2021
294
2022
275
2023
236
2024
183
2025
194
2026
14

Keywords

RAM e.g CPU AST JS github.io VERBOSE regex.info COMPILE expressions.mobi regular expressions expressions use regular know ll regular regex confronted ll use problem think think know

Sample Comments

cleverprogramer Nov 24, 2016 View on HN

Some people, when confronted with a problem, think “I know, I'll use Regex.” Now they have two problems.

oli5679 Jan 21, 2021 View on HN

Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems.

garret Sep 3, 2010 View on HN

Some people, when confronted with a problem, think “I know, I'll use regular expressions.” Now they have two problems.

chiph Mar 27, 2013 View on HN

Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems.- Jamie Zawinski

asicsp Aug 5, 2019 View on HN

Context: Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems. — Jamie ZawinskiSee also: https://blog.codinghorror.com/regular-expressions-now-you-ha...

1024core Jun 11, 2024 View on HN

"Some people, when faced with a problem, think: I know, I'll use a regular expression.Now they have 2 problems."

beaumartinez Feb 14, 2011 View on HN

Some people, when confronted with a problem, think "I know, I'll use regular expressions!". Now they have two problems.

mikmoila Nov 6, 2018 View on HN

Some people, when confronted with a problem, think “I know, I'll use regular expressions.” Now they have two problems.

chrisbennet May 1, 2017 View on HN

"Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems."

legulere Mar 22, 2017 View on HN

I do not get why there still is so much of a hype for regular expressions. They are hard to read and maintain. They have a relatively large syntax. Edge-cases are easy to get wrong with them.