Skip to content

refactor: align label normalization between detection and header matching - #1807

Merged
pierrecamilleri merged 1 commit into
mainfrom
fix/header-case-3
Aug 25, 2026
Merged

pierrecamilleri merged 1 commit into
mainfrom
fix/header-case-3

Conversation

@pierrecamilleri

Copy link
Copy Markdown
Collaborator

The LabelMatching class now deals with normalization in a single place (previously spread between Detector and Header).

This PR introduces a small change in behavior, which I consider a fix rather than a breaking change as this behavior was unspecified and untested : newlines were considered as special characters and were replaced with whitespace, so that "a\nb" would match "a b".

The LabelMatching class now deals with normalization in a single place (previously spread
between Detector and Header)
@pierrecamilleri
pierrecamilleri merged commit d10fbaf into main Aug 25, 2026
10 checks passed
@pierrecamilleri
pierrecamilleri deleted the fix/header-case-3 branch August 25, 2026 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant