Skip to content

Commit

Permalink
Resolve WA act sigils to inscriptions
Browse files Browse the repository at this point in the history
faust://*/wa/2_<Act>_H to pseudo inscriptions faust://inscription/faustedition/2_H/<Act>

Cf. faustedition/faust-xml#603
  • Loading branch information
thvitt committed Sep 14, 2018
1 parent 32e2e78 commit 8e3a636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uris.py
Expand Up @@ -267,7 +267,7 @@ def get(cls, uri, allow_duplicate=True):
if wa_h.group(4):
return Inscription(wit, wa_h.group(5))
else:
return wit
return Inscription(wit, wa_h.group(3))

wa_pseudo_inscr = re.match('faust://(inscription|document)/wa/(\S+?)\.?alpha$', uri)
if wa_pseudo_inscr is not None:
Expand Down

0 comments on commit 8e3a636

Please sign in to comment.