Flight Log / tomhrr/cosh #180
Fix single quote escaping in regex patterns — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in tomhrr/cosh on Jun 19, 2025; a burn — closed unmerged after human review: +11 −12, 4 files, 0 reviews.
- Lines
- +11 −12
- Files
- 4
- Commits
- 3
- Reviews
- 0
- To merge
- —
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
GitHub Copilot attempted a fix in tomhrr/cosh so single quotes can be escaped in regex patterns, where escaped forms failed with an invalid regex error. The change touches four files across three commits, with 11 additions and 12 deletions. It was closed unmerged after human review, which asked for regex_escaping_test to be fixed.
“Could you please try to fix the `regex_escaping_test` test?”
— from the review (source)
From the pull request description
This PR fixes the issue where single quotes could not be properly escaped in regex patterns, which was causing "unrecognized escape sequence" errors. ## Problem When trying to use escaped single quotes in regex patterns like `\'s`, the code would fail with: ``` 1:41: invalid regex: unrecognized es…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- Jun 26, 2025closedtomhrr
Read next
Cite this flight: AgentRiders Flight Log, tomhrr/cosh#180, record updated Nov 3, 2026, https://agentriders.com/logs/tomhrr/cosh/180/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.