Skip to content

Strip comma instead of keyboard-adjacent m when compacting CID - #508

Closed
holvitolv wants to merge 2 commits into
arthurdejong:masterfrom
holvitolv:eu-at-02-misprint
Closed

Strip comma instead of keyboard-adjacent m when compacting CID#508
holvitolv wants to merge 2 commits into
arthurdejong:masterfrom
holvitolv:eu-at-02-misprint

Conversation

@holvitolv

@holvitolv holvitolv commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

It does look like once upon a 2014 the author of stdnum.eu.at_02 hit m when intending to hit , while typing the list of characters to strip from CIDs, as the documentation for it offers no more plausible theories that I can tell, no special meaning is given to an m or M or their complement there :D

E.g. the Maltese example MT50ZZZ670169305T from the documentation, if provided in lowercase, would lose its M in compacting, as demonstrated by the test in the first commit. Strip the keyboard-adjacent punctuation instead.

@arthurdejong

Copy link
Copy Markdown
Owner

Hi @holvitolv,

Thanks for fixing this. It has been merged as 30aaa38.

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.

2 participants