Repository navigation
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
Merging this PR will degrade performance by 3.3%2 warnings
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #681 +/- ##
==========================================
+ Coverage 94.14% 94.18% +0.03%
==========================================
Files 14 14
Lines 5741 5777 +36
Branches 458 462 +4
==========================================
+ Hits 5405 5441 +36
Misses 335 335
Partials 1 1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
|
sorry but it needs to be rebased |
Closes uutils#644 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
b461bec to
a91b729
Compare
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
Closes #644
In a UTF-8 locale,
s/[0-9]*/N/gonéwroteNbetween the two bytes of the character, because the byte regex engine reports an empty match at every byte offset.substitutenow skips an empty match that falls inside a valid multi-byte character, so it is neither counted nor replaced. The C locale is unchanged: each byte is still a character there.The test covers the issue's three cases (
g,2,3) and the C-locale behaviour. It fails onmainand passes with the fix. On my Windows checkout, 48 other integration tests fail onmainas well, before and after this change.AI disclosure: written with help from Claude Code.
🤖 Generated with Claude Code