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 96722fb + b5ce2ec commit 8f7636cCopy full SHA for 8f7636c
build.gradle.kts
@@ -19,7 +19,7 @@ buildscript {
19
}
20
21
allprojects {
22
- version = "1.0.4-alpha"
+ version = "1.0.5-alpha"
23
group = "io.iohk.atala.prism.didcomm"
24
25
repositories {
didpeer/src/commonMain/kotlin/io/iohk/atala/prism/didcomm/didpeer/PeerDIDCreator.kt
@@ -20,7 +20,7 @@ fun isPeerDID(peerDID: String): Boolean {
val regex =
(
"^did:peer:(([0](z)([1-9a-km-zA-HJ-NP-Z]{46,47}))" +
- "|(2((.[AEVID](z)([1-9a-km-zA-HJ-NP-Z]{46,47}))+(.(S)[0-9a-zA-Z=]*)?)))$"
+ "|(2((.[AEVID](z)([1-9a-km-zA-HJ-NP-Z]{46,47}))+(.(S)[0-9a-zA-Z=]*)*)))$"
).toRegex()
return regex.matches(peerDID)
26
0 commit comments