Make Claude Code footer stripping more robust #25
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "probablycorey/fix-claude-footer-strip"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Improved the regex pattern used to strip the Claude Code footer from PR bodies to handle more formatting variations. The pattern now matches the robot emoji followed by "Claude Code" anywhere on the last line, catching cases like plain text "Claude Code" without square brackets.
Extracted the regex into a named variable with a clarifying comment to make the intent more obvious.