Skip to content

Commit 45e6470

Browse files
committed
Match official Apache-1.1 text
The official Apache 1.1 license text on the website has line breaks in different words. This PR allows for line breaks on the matching regex for the alt text. Reference spdx/Spdx-Java-Library#230
1 parent 16e09e6 commit 45e6470

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Apache-1.1.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
</item>
4646
<item>
4747
<bullet>5.</bullet>
48-
<alt match="(Products derived from this software may not be called\s.+nor may\s.+appear in their name, without prior written permission of\s.+.|Products may not include\s.+in their name, without prior written permission of\s.+.)" name="Clause5">Products derived from this software may not be called "Apache"
48+
<alt match="(Products\s+derived\s+from\s+this\s+software\s+may\s+not\s+be\s+called\s+.+nor may\s+.+appear\s+in\s+their\s+name,\s+without\s+prior\s+written\s+permission\s+of\s+.+.|Products\s+may\s+not\s+include\s+.+in\s+their\s+name,\s+without\s+prior\s+written\s+permission\s+of.+)" name="Clause5">Products derived from this software may not be called "Apache"
4949
nor may "Apache" [ex. the names] appear in their name,
5050
without prior written permission of the Apache Software Foundation.</alt>
5151
</item>

0 commit comments

Comments
 (0)