Skip to content

Commit

Permalink
🐛 Regex groups need different names
Browse files Browse the repository at this point in the history
Signed-off-by: ff137 <[email protected]>
  • Loading branch information
ff137 committed Feb 13, 2025
1 parent 5574bf9 commit ae57fbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acapy_agent/messaging/valid.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ class AnoncredsRevRegId(Regexp):

EXAMPLE = "did:(method):4:did:<method>:3:CL:20:tag:CL_ACCUM:0"
PATTERN = (
r"^did:(?P<method>[a-zA-Z0-9]+):4:did:(?P<method>[a-zA-Z0-9]+):3:CL:"
r"^did:(?P<method1>[a-zA-Z0-9]+):4:did:(?P<method2>[a-zA-Z0-9]+):3:CL:"
r"(?P<schema_id>\d+):(?P<tag>[a-zA-Z0-9_-]+):CL_ACCUM:(.+)$"
)

Expand Down

0 comments on commit ae57fbf

Please sign in to comment.