-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
The following GFDL license standard header templates contain a var/match with rather superfluous spaces in the regex:
- GFDL-1.1-invariants-only
- GFDL-1.1-invariants-or-later
- GFDL-1.1-only
- GFDL-1.1-or-later
- GFDL-1.2-invariants-only
- GFDL-1.2-invariants-or-later
- GFDL-1.2-only
- GFDL-1.2-or-later
- GFDL-1.3-invariants-only
- GFDL-1.3-invariants-or-later
- GFDL-1.3-only
- GFDL-1.3-or-later
The other GFDL license details (e.g. GFDL-1.3) are fine.
For example, the GFDL-1.3-only standard header template (line wraps for posterity by me) looks like this:
Copyright (c)
<<var;name=\"copyright\";original=\"YEAR YOUR NAME\";match=\".+\">>
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3; with
<<var;name=\"invariantSections\";original=\"the Invariant Sections being LIST THEIR TITLES\";match=\"the Invariant Sections being .+|no Invariant Sections\">>
, with
<<var;name=\"frontCoverTexts\";original=\"the Front-Cover Texts being LIST\";match=\"the Front-Cover Texts being .+|no Front-Cover Texts\">>
, and with
<<var;name=\"backCoverTexts\";original=\"the Back-Cover Texts being LIST\";match=\"the Back-Cover Texts being .+|no Back-Cover Texts\">>
. A copy of the license is included in the section entitled \"GNU Free Documentation License\".
The 2nd var has the match with the pattern the Invariant Sections being .+|no Invariant Sections (notice the many spaces), which doesn't match the corresponding part of standard header template text ("the Invariant Sections being LIST THEIR TITLES"), which has only one space.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels