Skip to content

Commit c5eab2c

Browse files
committed
0BSD: add markup for optional title
The match expression supports the following variations: - "BSD Zero Clause" or "Zero Clause BSD" - Both with and without the "License" suffix - Both with and without the "(0BSD)" suffix - Both "Zero Clause" and "Zero-Clause" (with hyphen)
1 parent e0b157f commit c5eab2c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/0BSD.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
<crossRef>http://landley.net/toybox/license.html</crossRef>
66
</crossRefs>
77
<text>
8+
<titleText>
9+
<p><alt name="title" match="(BSD Zero[ -]Clause|Zero[ -]Clause BSD)( License)?( \(0BSD\))?">BSD Zero Clause License</alt></p>
10+
</titleText>
811
<copyrightText>
912
<p>Copyright (C) YEAR by AUTHOR EMAIL</p>
1013
</copyrightText>

0 commit comments

Comments
 (0)