Last active
December 21, 2015 01:48
-
-
Save mdlincoln/6230222 to your computer and use it in GitHub Desktop.
This is an attempt to define a regular expression that will capture the various particles of an Iconclass notation in its match groups. The Iconclass schema is described here: http://www.iconclass.nl/contents-of-iconclass
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(\d{1,2})([A-Z]{1,2})?(\d{1,5})?(\(\w*\))?(\d{1,2})?(\(\+\d\))? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(((((((((((((\d)\d?)[A-Z]?)[A-Z]?)\d?)\d?)\d?)\d?)\d?)(\(\w*\))?)\d?)\d?)(\(\+\d+\))?) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment