We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b954f52 + 6f8ae63 commit e7fd495Copy full SHA for e7fd495
1 file changed
src/main/kotlin/Personnummer.kt
@@ -12,7 +12,7 @@ import java.time.format.DateTimeParseException
12
13
class Personnummer {
14
companion object {
15
- val PNR_REGEX = "^(\\d{2})?(\\d{2})(\\d{2})(\\d{2})([-|+]?)?((?!000)\\d{3})(\\d?)$".toRegex()
+ val PNR_REGEX = "^(\\d{2})?(\\d{2})(\\d{2})(\\d{2})([-+]?)?((?!000)\\d{3})(\\d?)$".toRegex()
16
val ASCII_REDUCE = 48
17
18
/**
0 commit comments