-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Make repr tag highlighting greedy #2565
Conversation
Codecov ReportBase: 98.39% // Head: 98.39% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #2565 +/- ##
==========================================
- Coverage 98.39% 98.39% -0.01%
==========================================
Files 63 63
Lines 6806 6797 -9
==========================================
- Hits 6697 6688 -9
Misses 109 109
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Does this deserve an entry in the |
Great. Please add a test for this. |
And also run freshly-installed pre-commit hooks (hence ISO8601Highlighter moving in the import list).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Addressing #2468; before this change the tag-matching code was non-greedy, resulting in an unbalanced match if there were tags within tags. This change makes this greedy to ensure that there's a better chance of the match being balanced.
Type of changes
Checklist
Description
Please describe your changes here. If this fixes a bug, please link to the issue, if possible.