Skip to content

Commit

Permalink
Merge pull request #67 from antonbaliasnikov/regex-example-multiple-s…
Browse files Browse the repository at this point in the history
…ervices

fix: add support for multiple services in example regex
  • Loading branch information
dhh1128 authored Nov 17, 2023
2 parents da263d4 + 29ca4f9 commit 9e382be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/core.md
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ A convenient regex to match `peer` DIDs is:

::: example Matching regex
``` text
^did:peer:(([01](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=]*)?)))$
^did:peer:(([01](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=]*)*)))$
```
:::

Expand Down

0 comments on commit 9e382be

Please sign in to comment.