Skip to content

Support correctly reading copyright statements #48

@rhdunn

Description

@rhdunn

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions