create like post
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 1m25s

This commit is contained in:
2026-04-01 17:37:00 +02:00
parent 4409f7b7f0
commit 65b52f7b11

19
content/likes/c0997.md Normal file
View File

@@ -0,0 +1,19 @@
---
date: 2026-04-01T15:36:59.815Z
likeOf: https://alex000kim.com/posts/2026-03-31-claude-code-source-leak
category: dev
mpSyndicateTo:
- https://blog.giersig.eu/
aiTextLevel: "0"
mpUrl: https://blog.giersig.eu/likes/c0997/
permalink: /likes/c0997/
---
userPromptKeywords.ts contains a regex pattern that detects user frustration:
```
/\b(wtf|wth|ffs|omfg|shit(ty|tiest)?|dumbass|horrible|awful|
piss(ed|ing)? off|piece of (shit|crap|junk)|what the (fuck|hell)|
fucking? (broken|useless|terrible|awful|horrible)|fuck you|
screw (this|you)|so frustrating|this sucks|damn it)\b/
```
An LLM company using regexes for sentiment analysis is peak irony, but also: a regex is faster and cheaper than an LLM inference call just to check if someone is swearing at your tool.