cainteoir-engine
cainteoir-engine copied to clipboard
Support correctly reading copyright statements
Copyright statements have the form:
Copyright (C) 2009
Copyright (C) 2008-2010
Copyright (C) 2004, 2008
Copyright© 2013
which all share a common format:
COPYRIGHT := 'copyright' (('(' 'C' ')') | '©') ((YEAR | (YEAR '-' YEAR)) ~ ',')
The Copyright (C)
/Copyright©
portion should just be read as "copyright". The YEAR '-' YEAR
portion should be read as "YEAR
to YEAR
".
Here, the YEAR
items are numbers that are read as years as outlined in issue #44 (date/time support).
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.