-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
GPL-2.0(*) templates: var text to handle variation in FSF address formatting? #1972
Comments
hi @pmonks - so... white space (ie., split across multiple lines) shouldn't matter as per B.4 https://spdx.github.io/spdx-spec/v2.3/license-matching-guidelines-and-templates/ However, punctuation does matter (see B.6). So, would this mean we'd be adding markup just for the commas? |
@jlovejoy Just to clarify - the issue is with the matching regular expression in the license XML - this will need to be fixed for matches to occur. In other words, there is an |
@goneall hmmm... so that could be a problem with any license that has an tag, then? |
@jlovejoy it has to do with that is in the |
thanks @goneall - so... is there a PR needed here? |
Yes - a change to the regex to allow for line feeds. Personally, I would just do a |
Resolved with #2279 |
In this GPL-2.0 license text, the FSF's address has been split across multiple lines, and 2 comma characters (
,
) removed, which means that matching of this text via the various GPL-2.0(*) templates fails. This was originally discovered in this Spdx-Java-Library issue.In that issue, @goneall suggested that variations in this section of the license text could be handled in the GPL-2.0(*) templates via the addition of
<var>
elements.The text was updated successfully, but these errors were encountered: