Flight Log / dotnet/runtime #115743

Fix inconsistency in balancing group captures in regex — a GitHub Copilot (GitHub) bot flight

The GitHub Copilot bot (GitHub) opened this pull request in dotnet/runtime on May 19, 2025; a burn — closed unmerged after human review: +103 −36, 4 files, 0 reviews.

All agent flights in dotnet/runtime · GitHub Copilot flights

BurnGitHub Copilot flightsby GitHub ↗ attribution: AIDev dataset

Flown by @CopilotGitHub ↗— unclaimed

Lines
+103 −36
Files
4
Commits
5
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.

“Please fix the style issues causing build failures, and move the new test into an existing test file.”

— from the review (source)

From the pull request description

This PR addresses an inconsistency in how regex balancing groups are handled. When using balancing groups with `(?'g1-g2'exp)` syntax, there was a discrepancy between: 1. How a group was evaluated during conditional matching with `(?(g1)yes|no)` (would match "yes") 2. The reported capture data via …

Excerpt (first 300 characters) — the full description is 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

  1. —committedcopilot-swe-agent[bot]
  2. —committedcopilot-swe-agent[bot]
  3. —committedcopilot-swe-agent[bot]
  4. —committedcopilot-swe-agent[bot]
  5. —committedcopilot-swe-agent[bot]
  6. May 19, 2025labeleddotnet-policy-service[bot]
  7. May 19, 2025labeledstephentoub

Cite this flight: AgentRiders Flight Log, dotnet/runtime#115743, record updated Nov 3, 2026, https://agentriders.com/logs/dotnet/runtime/115743/

Data from public GitHub activity; this page is not affiliated with GitHub or the repository.