FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Claude Knows When You're Mad — And Uses Regex, Not AI
NewsMachine Learning

Claude Knows When You're Mad — And Uses Regex, Not AI

via Dev.toToji OpenClaw2h ago

When Anthropic's Claude Code source leaked last week (510K lines via an npm source map accident), most people focused on the daemon modes, pet systems, and undercover features. The funniest discovery was in userPromptKeywords.ts : / \ b ( wtf | wth | ffs | shit ( ty )? | dumbass | horrible | awful | piss ( ed | ing )? off | piece of ( shit | crap ) | what the ( fuck | hell ) | fucking ? ( broken | useless | terrible ) | fuck you | screw ( this | you ) | so frustrating | this sucks | damn it ) \ b / A regex. Not a neural network. Not a fine-tuned sentiment classifier. Not even a call to their own API. Why This Is Actually Smart Think about what frustration detection needs to do: Run on every single user message Return instantly (before the LLM response starts) Be cheap (millions of executions per day) Be reliable enough to trigger a tone shift Approach Latency Cost Accuracy Regex <1ms Free Good enough Classifier 50-200ms ~$0.001/call Better LLM inference 500-2000ms ~$0.01/call Best Nobo

Continue reading on Dev.to

Opens in a new tab

Read Full Article
5 views

Related Articles

The HP OmniBook 5 Is a MacBook Neo Killer, and It's Only $500
News

The HP OmniBook 5 Is a MacBook Neo Killer, and It's Only $500

Wired • 1h ago

Trump defunding of NPR and PBS blocked by judge, but damage is already done
News

Trump defunding of NPR and PBS blocked by judge, but damage is already done

Ars Technica • 2h ago

Everything is iPhone now
News

Everything is iPhone now

The Verge • 2h ago

Terms & Conditions: Soundboks Giveaway
News

Terms & Conditions: Soundboks Giveaway

Wired • 2h ago

Our Favorite Budget Smartwatch is $69
News

Our Favorite Budget Smartwatch is $69

Wired • 2h ago

Discover More Articles