Skip to content

Conversation

@swantzter
Copy link
Member

Type of change

  • New feature
  • Bug fix
  • Security patch
  • Documentation update

Description

I took the regex from the personnummer lib, which makes the luhn check in this library fail with an IndexError. This takes the regex from the JS organisationsnummer implementation

@swantzter
Copy link
Member Author

@frozzare seems I couldn't push a new branch with this fix to the main repo, do you have a moment to merge and release this?

@swantzter swantzter merged commit 2e6f542 into organisationsnummer:main Jun 16, 2025
6 checks passed
@swantzter swantzter deleted the fix-regex branch June 16, 2025 07:54
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