in reply to Using regexps to parse an XML DTD file

I'm getting closer:

$dtdLine=~m/\((.*)\,|\,(.*)\)|\,(.*)\,/sg)


Gives me all but the last one.