1Regexp::Pattern::LicensUes(e3r)Contributed Perl DocumentRaetgieoxnp::Pattern::License(3)
2
3
4

NAME

6       Regexp::Pattern::License - Regular expressions for legal licenses
7

VERSION

9       Version v3.1.94
10

DESCRIPTION

12       Regexp::Pattern::License provides a hash of regular expression patterns
13       related to legal software licenses.
14
15       Regexp::Pattern is a convention for organizing reusable regex patterns.
16

PATTERNS

18   Single licenses
19       Patterns each covering a single license.
20
21       Each of these patterns has exactly one of these tags:
22       type:singleversion:*  type:unversioned  type:versioned:decimal .
23
24       ·   adobe_2006
25
26       ·   adobe_glyph
27
28       ·   afl
29
30       ·   agpl
31
32       ·   aladdin
33
34       ·   aladdin_8
35
36       ·   aladdin_9
37
38       ·   apache
39
40       ·   apafml
41
42       ·   artistic
43
44       ·   artistic_2
45
46       ·   bdwgc
47
48       ·   bdwgc_matlab
49
50       ·   beerware
51
52       ·   bsd_2_clause
53
54       ·   bsd_3_clause
55
56       ·   bsd_4_clause
57
58       ·   bsl
59
60       ·   bsl_1
61
62       ·   cc_by
63
64       ·   cc_by_nc
65
66       ·   cc_by_nc_nd
67
68       ·   cc_by_nc_sa
69
70       ·   cc_by_nd
71
72       ·   cc_by_sa
73
74       ·   cc_cc0
75
76       ·   cc_sp
77
78       ·   cddl
79
80       ·   cecill
81
82       ·   cecill_1
83
84       ·   cecill_1_1
85
86       ·   cecill_2
87
88       ·   cecill_2_1
89
90       ·   cecill_b
91
92       ·   cecill_c
93
94       ·   cube
95
96       ·   curl
97
98       ·   dsdp
99
100       ·   epl
101
102       ·   eurosym
103
104       ·   fsfap
105
106       ·   fsful
107
108       ·   fsfullr
109
110       ·   ftl
111
112       ·   gfdl
113
114       ·   gfdl_niv
115
116       ·   gpl
117
118       ·   isc
119
120       ·   icu
121
122       ·   json
123
124       ·   jython
125
126       ·   kevlin_henney
127
128       ·   lgpl
129
130       ·   lgpl_bdwgc
131
132       ·   libpng
133
134       ·   llgpl
135
136       ·   mit_advertising
137
138       ·   mit_cmu
139
140       ·   mit_cmu_warranty
141
142       ·   mit_enna
143
144       ·   mit_feh
145
146       ·   mit_new
147
148       ·   mit_new_materials
149
150       ·   mit_old
151
152       ·   mit_oldstyle
153
154       ·   mit_oldstyle_disclaimer
155
156       ·   mit_oldstyle_permission
157
158       ·   mpl
159
160       ·   ms_pl
161
162       ·   ms_rl
163
164       ·   ntp
165
166       ·   ntp_disclaimer
167
168       ·   ofl
169
170       ·   openssl
171
172       ·   postgresql
173
174       ·   public_domain
175
176       ·   python
177
178       ·   python_2
179
180       ·   qpl
181
182       ·   rpsl
183
184       ·   sgi_b
185
186       ·   unicode_strict
187
188       ·   unicode_tou
189
190       ·   wtfpl
191
192       ·   zlib
193
194       ·   zlib_acknowledgement
195
196   Licensing traits
197       Patterns each covering a single trait occuring in licenses.
198
199       Each of these patterns has the tag  type:trait .
200
201       ·   any_of
202
203       ·   clause_retention
204
205       ·   clause_reproduction
206
207       ·   clause_advertising
208
209       ·   clause_advertising_always
210
211       ·   clause_non_endorsement
212
213       ·   fsf_unlimited
214
215       ·   fsf_unlimited_retention
216
217       ·   licensed_under
218
219       ·   or_at_option
220
221       ·   version
222
223       ·   version_later
224
225       ·   version_later_paragraph
226
227       ·   version_later_postfix
228
229       ·   version_number
230
231       ·   version_numberstring
232
233       ·   version_prefix
234
235   License combinations
236       Patterns each covering a combination of multiple licenses.
237
238       Each of these patterns has the tag  type:combo .
239
240       ·   perl
241
242   License groups
243       Patterns each covering either of multiple licenses.
244
245       Each of these patterns has the tag  type:group .
246
247       ·   bsd
248
249       ·   gnu
250
251       ·   mit
252

STRUCTURE

254       The regexp patterns follows the DefHash specification, and more
255       specifically the structure of Regexp::Pattern, defining access to one
256       pattern per DefHash object, as "pat".
257
258       Additionally, (sub)patterns are available in plaintext form, as
259       "pat.alt.*".
260
261   SUBJECT
262       Each pattern targets one or more subjects, i.e. ways to directly or
263       indirectly represent a license.
264
265       Beware that not all pattern objects fully cover all subjects.
266
267       trait
268           Distinguishing trait or feature expressed in licensing strings,
269           e.g. an advertising clause or granting "...or any later version."
270
271           Coverage for this subject is currently rather weak.
272
273       name
274           Distinguishing name, e.g. usable in license grant.
275
276       grant
277           Text granting the license.
278
279       license
280           Text containing licensing terms.
281
282           Texts containing both license grant and licensing terms (e.g. BSD-
283           and MIT-style licensing) may be classified as either subject grant
284           or subject license.  This may change, as needs for distinction is
285           better understood.
286
287   SCOPE
288       Each pattern can process material within some scope, i.e. a certain
289       sample size of the full subject.
290
291       As an example, <https://codesearch.debian.net/> use line-based
292       processing, where patterns spanning multiple lines are not applicable.
293
294       line
295           Pattern typically found within a single line.  Typically this means
296           less than 70 characters within scope.
297
298       sentence
299           Pattern matching within a sentence.
300
301           May span multiple lines, but not across multiple sentences.
302           Typically this means no full-stop or colon within scope.
303
304       paragraph
305           Pattern matching distinguishing paragraph.
306
307           May span multiple sentences, but not multiple paragraphs.
308           Typically this means no newline within scope.
309
310       section
311           Pattern matching distinguishing section.
312
313           May span multiple paragraphs, but not multiple sections.  Typically
314           this means blank line within scope.
315
316       multisection
317           Pattern may span multiple sections.
318
319   TAGS
320       Pattern defhashes optionally includes tags, which may help in selecting
321       multiple related patterns.
322
323       Tags are hierarchical, with ":" as separator, and may be extended
324       without notice.  Therefore take care to permit sub-parts when tag-
325       matching, e.g. using a regex like " /\Asome:tag(?:\z|:)/ ".
326
327       ·   family:bsd
328
329       ·   family:cc
330
331       ·   family:gpl
332
333       ·   family:mit
334
335       ·   family:zlib
336
337           Pattern covers a license part of a family of licenses.
338
339       ·   type:combo
340
341           Pattern covers a combination of multiple licenses.
342
343       ·   type:group
344
345           Pattern covers either of multiple licenses.
346
347       ·   type:singleversion:*
348
349           Pattern covers a specific version of a license.
350
351           Last part of tag is the key of the corresponding non-version-
352           specific pattern.
353
354       ·   type:trait
355
356           Pattern covers a single trait occuring in licenses.
357
358       ·   type:unversioned
359
360           Pattern covers a license without versioning scheme.
361
362       ·   type:versioned:decimal
363
364           Pattern covers a license using decimal number versioning scheme.
365
366       DEPRECATED TAGS
367
368       Tags not documented in this POD, specifically non-hierarchical tags,
369       are deprecated and will be dropped in a future release.
370

AUTHOR

372       Jonas Smedegaard "<dr@jones.dk>"
373
375         Copyright © 2016-2017 Jonas Smedegaard
376
377       This program is free software; you can redistribute it and/or modify it
378       under the terms of the GNU General Public License as published by the
379       Free Software Foundation; either version 3, or (at your option) any
380       later version.
381
382       This program is distributed in the hope that it will be useful, but
383       WITHOUT ANY WARRANTY; without even the implied warranty of
384       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
385       General Public License for more details.
386
387       You should have received a copy of the GNU General Public License along
388       with this program. If not, see <https://www.gnu.org/licenses/>.
389
390
391
392perl v5.30.0                      2019-07-26       Regexp::Pattern::License(3)
Impressum