lmao Claude Code regex to detect people swearing at it.
-
lmao Claude Code regex to detect people swearing at it. https://github.com/chatgptprojects/claude-code/blob/642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc/src/utils/userPromptKeywords.ts#L8

-
lmao Claude Code regex to detect people swearing at it. https://github.com/chatgptprojects/claude-code/blob/642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc/src/utils/userPromptKeywords.ts#L8

-
@DataAngler noooo no no, this is Claude Code, it's a wrapper for their LLMs
-
lmao Claude Code regex to detect people swearing at it. https://github.com/chatgptprojects/claude-code/blob/642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc/src/utils/userPromptKeywords.ts#L8

@peter swearing at it uncreatively

-
@DataAngler @peter what if it's just nested if/thens all the way down?

-
@DataAngler @peter @dnorman would be funny if true, but (to get pedantic) it would technically be a finite state transducer because it produces a new string based on a previous string. Basically a regex, but the state transitions produce an output.
Even so, regex are deterministic, while thereโs stochasticity baked into LLMs.
Lots of other differences but that would be the most fundamental. The theoretical comparison could be fun!
-
R relay@relay.infosec.exchange shared this topic