-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix regex to support optional end line of old section in diff hunk #5096
Fix regex to support optional end line of old section in diff hunk #5096
Conversation
+ Named groups in reges for easier group parsing
@JonasFranzDEV 1.6 has been branched, so I'm going to move this to 1.7 milestone and set a backport label on this PR |
@techknowlogick alright |
@techknowlogick backport pr is up: #5097 |
Codecov Report
@@ Coverage Diff @@
## master #5096 +/- ##
=========================================
+ Coverage 37.4% 37.4% +<.01%
=========================================
Files 306 306
Lines 45374 45379 +5
=========================================
+ Hits 16973 16975 +2
- Misses 25947 25950 +3
Partials 2454 2454
Continue to review full report at Codecov.
|
Previously, a hunk like this would fail:
@@ -1 +1,9 @@
(note the missing
,
after-1
)This pr fixes this.