added support for hyphens in animation parsing