Products · Pattern or everyday thing
Regular expressions
Raised as a usability problem by 39 people on Hacker News over 18 years (2009–2026), in 33 threads.
No issue was raised by at least 3 people in 3 threads this year.
Every issue, all time, most people first
Regex syntax is obscure and hard to debug or explainUnreviewed
20092026- Regex syntax becomes unreadable quickly as patterns grow2025-04-10
- Hard to learn, remember, and read regex syntax2024-08-09
- Has to slowly recall each character's meaning; can't compose regexes spontaneously2022-12-30
Unreviewed issues were grouped by machine: Claude Haiku labelled each comment as a usability complaint, named what it's about and summed up the problem in a line, and a small model grouped similar problems. Nobody has checked them by hand. Expect mistakes.
The newest 39 complaints
- Getting the matched substrings of a named group is awkward and fiddly2026-09-26
- Hard to tell whether characters belong to the regex, the host language, or the literal2025-04-22
- Regex syntax becomes unreadable quickly as patterns grow2025-04-10
- Hard to learn, remember, and read regex syntax2024-08-09
- Syntax and behaviour diverge across variants, with poor documentation making results unexpected2024-08-08
- Has to slowly recall each character's meaning; can't compose regexes spontaneously2022-12-30
- Regex appears complex and hard to learn, which puts learners off2022-12-30
- Can't tell what the slashes mean, so couldn't get started2022-10-26
- Regex syntax is hard to remember and considered bad by the author2022-06-10
- Regex is terribly unreadable, easy to introduce bugs, requires lots of trial and error2021-11-17
- Hours spent on one regex, and testing means copying patterns between browser and editor2021-01-02
- Hard to tell literal characters from regex control characters, needing trial and error2020-12-16
- Complex regex is hard to read and requires stopping to decipher what it does2020-12-15
- Arcane syntax makes you inspect every bracket to tell whether it is a control character2020-11-25
- Regex syntax is unintuitive, obscure, and hard to debug or explain2020-02-23
- Multi-line regexes of around 480 characters caused headaches and made the script impractical to write2020-01-09
- Hard to read, hard to debug, and nearly impossible to extend2019-08-08
- Long regexes written on one line are unreadable and hard to follow2019-08-04
- Regex syntax is hard to remember and relearn, so users forget it and must rely on googled solutions2019-08-04
- Regex syntax is hard to remember, requiring constant doc lookups and misremembering operators2018-11-29
- Regex syntax is highly unreadable due to syntax noise2018-10-14
- Infrequent users must repeatedly consult cheatsheets to write non-trivial patterns2016-08-30
- Regex can't balance parentheses, which feels counterintuitive and needs formal theory to understand2016-06-18
- Regex syntax is hard to type and remember, even though the underlying logic is easy2016-06-18
- Regex setup for page detection is hard for marketers to understand2016-05-15
- Developers find regular expressions hard to read and understand2016-01-29
- Regex syntax is confusing and cluttered with incidental complexity2015-06-21
- Only reports match or no match, so you can't tell what or where is broken2015-06-21
- Regex learning curve is frustrating, so many people give up2015-03-05
- Original regex is confusing; the 1-shift is hard to decipher as written2015-02-12
- Syntax must be learned before answers copied from Stack Overflow can be tweaked2014-03-10
- Regexes are confusing to write and hard to remember which form to use2014-02-24
- Parser combinators are very hard to use for the author2013-09-03
- Counterintuitive idiosyncrasies make regex syntax hard to understand2013-05-20
- Forces users to escape half their input because special characters take precedence2013-05-12
- Regex syntax is non-intuitive, so people forget it and must relearn it2012-08-16
- Regex syntax is opaque and random, a UX failure that is hard to read and write2012-08-16
- Syntax is hard to remember, so it has to be relearned repeatedly2012-03-08
- Regex syntax and APIs differ across languages, so users must relearn and google them2009-07-27