generalised parsing year from copyright string
(cherry picked from commit 080deef)