Re:Claude Code's source code has been leaked via a map file ...
by hk__2 on Tuesday March 31, 2026 @07:16AM
(#47585687)
It’s fast and it matches 80% of the cases. There’s no point in overengineering it.
Re:Claude Code's source code has been leaked via a map file ...
by NitpickLawyer on Tuesday March 31, 2026 @10:49AM
(#47588185)
> There’s no point in overengineering it.
I swear this whole thread about regexes is just fake rage at something, and I bet it'd be reversed had they used something heavier (omg, look they're using an LLM call where a simple regex would have worked, lul)...
Re:Claude Code's source code has been leaked via a map file ...
by vharuck on Tuesday March 31, 2026 @07:18AM
(#47585713)
The pattern only matches if both ends are word boundaries. So "diffs" won't match, but "Oh, ffs!" will. It's also why they had to use the pattern "shit(ty|tiest)" instead of just "shit".
And some of the entries are too short and will create false positives. It'll match the word "offset" ("ffs"), for example. EDIT: no it won't, I missed the \b. Still sounds weird to me.