Logo
Error 404: Sleep not found.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • Csharp Csharp
  • All Categories

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

Data-redaction Memes

Posts tagged with Data-redaction

Find First And Last Name Using Reg Ex

Programming Debugging Backend Security
3 hours ago 41.4K views 0 shares
Find First And Last Name Using Reg Ex
You craft a beautiful regex to extract first and last names for data redaction, test it on "Truman Donovan" and feel like a genius. Then you deploy it to production and discover it's also happily matching "Jeffrey Epstein" in email headers. Oops. The regex is doing exactly what you asked—finding patterns that look like names—but it has zero concept of context. It can't tell the difference between "data that needs redacting" and "email metadata that absolutely should not be touched." Your regex doesn't care about your intentions; it just sees `\b(word)\b` and goes ham. The real kicker? That monstrosity of a regex pattern `(?=.+\b(don\w+|d\.?)\b)(?=.+\b(truman)\b).*` with 15 matches and 874 steps is probably still missing edge cases like "O'Brien" or "José García" while simultaneously nuking your email headers. Classic regex overconfidence meets reality.

Spotlight

GearScouts.com

Stop scrolling, start exploring! Find the gear that'll get you off the couch and into the wild. Compare power stations for off-grid adventures, flashlights for midnight hikes, and essentials that make the outdoors your playground. Get Outside →

ZealSound Podcast Microphone for PC, Noise Canc...

ZealSound Podcast Microphone for PC, Noise Canc...
Ad Buy = You get cool stuff + we can finally fix that one bug that's been in production since 2017. 🐞