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.4.0
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   Licensing traits
19       Patterns each covering a single trait occuring in licenses.
20
21       Each of these patterns has the tag  type:trait .
22
23       ·   addr_fsf
24
25       ·   addr_fsf_franklin
26
27       ·   addr_fsf_franklin_steet
28
29       ·   addr_fsf_mass
30
31       ·   addr_fsf_temple
32
33       ·   any_of
34
35       ·   by
36
37       ·   by_apache
38
39       ·   by_fsf
40
41       ·   by_james_clark
42
43       ·   by_psf
44
45       ·   by_sam_hocevar
46
47       ·   clause_retention
48
49       ·   clause_reproduction
50
51       ·   clause_advertising
52
53       ·   clause_advertising_always
54
55       ·   clause_non_endorsement
56
57       ·   except_389
58
59       ·   except_autoconf_data
60
61       ·   except_autoconf_2
62
63       ·   except_autoconf_2_archive
64
65       ·   except_autoconf_2_autotroll
66
67       ·   except_autoconf_2_g10
68
69       ·   except_autoconf_3
70
71       ·   except_bison_1_24
72
73       ·   except_bison_2_2
74
75       ·   except_classpath_2
76
77       ·   except_epl
78
79       ·   except_epl_mpl
80
81       ·   except_faust
82
83       ·   except_gstreamer
84
85       ·   except_libtool
86
87       ·   except_mif
88
89       ·   except_openssl
90
91       ·   except_ocaml-lgpl
92
93       ·   except_openssl-lgpl
94
95       ·   except_openssl_s3
96
97       ·   except_prefix_agpl
98
99       ·   except_prefix_generic
100
101       ·   except_prefix_gpl
102
103       ·   except_prefix_gpl_clisp
104
105       ·   except_prefix_lgpl
106
107       ·   except_proguard
108
109       ·   except_qt_gpl_1
110
111       ·   except_qt_gpl_eclipse
112
113       ·   except_qt_gpl_openssl
114
115       ·   except_qt_kernel
116
117       ·   except_qt_lgpl_1_1
118
119       ·   except_qt_nosource
120
121       ·   except_sdc
122
123       ·   except_sollya_4_1
124
125       ·   except_warzone
126
127       ·   except_xerces
128
129       ·   fsf_unlimited
130
131       ·   fsf_unlimited_retention
132
133       ·   generated
134
135       ·   license_label
136
137       ·   license_label_trove
138
139       ·   licensed_under
140
141       ·   or_at_option
142
143       ·   usage_rfn
144
145       ·   version
146
147       ·   version_later
148
149       ·   version_later_paragraph
150
151       ·   version_later_postfix
152
153       ·   version_number
154
155       ·   version_number_suffix
156
157       ·   version_only
158
159       ·   version_prefix
160
161       ·   version_numberstring
162
163   Single licenses
164       Patterns each covering a single license.
165
166       Each of these patterns has exactly one of these tags:  type:unversioned
167        type:versioned:decimal  type:singleversion:*  type:usage:*:* .
168
169       ·   aal
170
171       ·   abstyles
172
173       ·   adobe_2006
174
175       ·   adobe_glyph
176
177       ·   adsl
178
179       ·   afl
180
181       ·   afl_1_1
182
183       ·   afl_1_2
184
185       ·   afl_2
186
187       ·   afl_2_1
188
189       ·   afl_3
190
191       ·   afmparse
192
193       ·   agpl
194
195       ·   agpl_1
196
197       ·   agpl_1_only
198
199       ·   agpl_1_or_later
200
201       ·   agpl_2
202
203       ·   agpl_3
204
205       ·   agpl_3_only
206
207       ·   agpl_3_or_later
208
209       ·   aladdin
210
211       ·   aladdin_8
212
213       ·   aladdin_9
214
215       ·   amdplpa
216
217       ·   aml
218
219       ·   ampas
220
221       ·   antlr_pd
222
223       ·   apache
224
225       ·   apache_1
226
227       ·   apache_1_1
228
229       ·   apache_2
230
231       ·   apafml
232
233       ·   apl
234
235       ·   apl_1
236
237       ·   apsl
238
239       ·   apsl_1
240
241       ·   apsl_1_1
242
243       ·   apsl_1_2
244
245       ·   apsl_2
246
247       ·   artistic
248
249       ·   artistic_1
250
251       ·   artistic_1_cl8
252
253       ·   artistic_1_perl
254
255       ·   artistic_2
256
257       ·   bahyph
258
259       ·   barr
260
261       ·   bdwgc
262
263       ·   bdwgc_matlab
264
265       ·   beerware
266
267       ·   bittorrent
268
269       ·   bittorrent_1
270
271       ·   bittorrent_1_1
272
273       ·   borceux
274
275       ·   bsd_2_clause
276
277       ·   bsd_3_clause
278
279       ·   bsd_4_clause
280
281       ·   bsl
282
283       ·   bsl_1
284
285       ·   bzip2
286
287       ·   bzip2_1_0_5
288
289       ·   bzip2_1_0_6
290
291       ·   caldera
292
293       ·   catosl
294
295       ·   catosl_1_1
296
297       ·   cc_by
298
299       ·   cc_by_1
300
301       ·   cc_by_2
302
303       ·   cc_by_2_5
304
305       ·   cc_by_3
306
307       ·   cc_by_4
308
309       ·   cc_by_nc
310
311       ·   cc_by_nc_1
312
313       ·   cc_by_nc_2
314
315       ·   cc_by_nc_2_5
316
317       ·   cc_by_nc_3
318
319       ·   cc_by_nc_4
320
321       ·   cc_by_nc_nd
322
323       ·   cc_by_nc_nd_1
324
325       ·   cc_by_nc_nd_2
326
327       ·   cc_by_nc_nd_2_5
328
329       ·   cc_by_nc_nd_3
330
331       ·   cc_by_nc_nd_4
332
333       ·   cc_by_nc_sa
334
335       ·   cc_by_nc_sa_1
336
337       ·   cc_by_nc_sa_2
338
339       ·   cc_by_nc_sa_2_5
340
341       ·   cc_by_nc_sa_3
342
343       ·   cc_by_nc_sa_4
344
345       ·   cc_by_nd
346
347       ·   cc_by_nd_1
348
349       ·   cc_by_nd_2
350
351       ·   cc_by_nd_2_5
352
353       ·   cc_by_nd_3
354
355       ·   cc_by_nd_4
356
357       ·   cc_by_sa
358
359       ·   cc_by_sa_1
360
361       ·   cc_by_sa_2
362
363       ·   cc_by_sa_2_5
364
365       ·   cc_by_sa_3
366
367       ·   cc_by_sa_4
368
369       ·   cc_cc0
370
371       ·   cc_cc0_1
372
373       ·   cc_nc
374
375       ·   cc_nc_1
376
377       ·   cc_nd
378
379       ·   cc_nd_1
380
381       ·   cc_sa
382
383       ·   cc_sa_1
384
385       ·   cc_sp
386
387       ·   cddl
388
389       ·   cddl_1
390
391       ·   cddl_1_1
392
393       ·   cecill
394
395       ·   cecill_1
396
397       ·   cecill_1_1
398
399       ·   cecill_2
400
401       ·   cecill_2_1
402
403       ·   cecill_b
404
405       ·   cecill_b_1
406
407       ·   cecill_c
408
409       ·   cecill_c_1
410
411       ·   cnri_jython
412
413       ·   cnri_python
414
415       ·   cnri_python_gpl_compat
416
417       ·   cpal
418
419       ·   cpal_1
420
421       ·   cpl
422
423       ·   cpl_1
424
425       ·   cpol
426
427       ·   cpol_1_02
428
429       ·   cryptix
430
431       ·   cua_opl
432
433       ·   cua_opl_1
434
435       ·   cube
436
437       ·   curl
438
439       ·   dsdp
440
441       ·   ecl
442
443       ·   ecl_1
444
445       ·   ecl_2
446
447       ·   epl
448
449       ·   epl_1
450
451       ·   epl_2
452
453       ·   eupl
454
455       ·   eupl_1
456
457       ·   eupl_1_1
458
459       ·   eupl_1_2
460
461       ·   eurosym
462
463       ·   fsfap
464
465       ·   fsful
466
467       ·   fsfullr
468
469       ·   ftl
470
471       ·   gfdl
472
473       ·   gfdl_1_1
474
475       ·   gfdl_1_1_only
476
477       ·   gfdl_1_1_or_later
478
479       ·   gfdl_1_2
480
481       ·   gfdl_1_2_only
482
483       ·   gfdl_1_2_or_later
484
485       ·   gfdl_1_3
486
487       ·   gfdl_1_3_only
488
489       ·   gfdl_1_3_or_later
490
491       ·   gfdl_niv
492
493       ·   gpl
494
495       ·   gpl_1
496
497       ·   gpl_1_only
498
499       ·   gpl_1_or_later
500
501       ·   gpl_2
502
503       ·   gpl_2_only
504
505       ·   gpl_2_or_later
506
507       ·   gpl_3
508
509       ·   gpl_3_only
510
511       ·   gpl_3_or_later
512
513       ·   isc
514
515       ·   icu
516
517       ·   ipl
518
519       ·   ipl_1
520
521       ·   json
522
523       ·   jython
524
525       ·   kevlin_henney
526
527       ·   lgpl
528
529       ·   lgpl_2
530
531       ·   lgpl_2_only
532
533       ·   lgpl_2_or_later
534
535       ·   lgpl_2_1
536
537       ·   lgpl_2_1_only
538
539       ·   lgpl_2_1_or_later
540
541       ·   lgpl_3
542
543       ·   lgpl_3_only
544
545       ·   lgpl_3_or_later
546
547       ·   lgpl_bdwgc
548
549       ·   libpng
550
551       ·   llgpl
552
553       ·   lppl
554
555       ·   lppl_1
556
557       ·   lppl_1_1
558
559       ·   lppl_1_2
560
561       ·   lppl_1_3a
562
563       ·   lppl_1_3c
564
565       ·   mit_advertising
566
567       ·   mit_cmu
568
569       ·   mit_cmu_warranty
570
571       ·   mit_enna
572
573       ·   mit_feh
574
575       ·   mit_new
576
577       ·   mit_new_materials
578
579       ·   mit_old
580
581       ·   mit_oldstyle
582
583       ·   mit_oldstyle_disclaimer
584
585       ·   mit_oldstyle_permission
586
587       ·   mpl
588
589       ·   mpl_1
590
591       ·   mpl_1_1
592
593       ·   mpl_2
594
595       ·   ms_pl
596
597       ·   ms_rl
598
599       ·   ngpl
600
601       ·   npl
602
603       ·   npl_1
604
605       ·   npl_1_1
606
607       ·   ntp
608
609       ·   ntp_disclaimer
610
611       ·   oclc
612
613       ·   oclc_1
614
615       ·   oclc_2
616
617       ·   ofl
618
619       ·   ofl_1
620
621       ·   ofl_1_no_rfn
622
623       ·   ofl_1_rfn
624
625       ·   ofl_1_1
626
627       ·   ofl_1_1_no_rfn
628
629       ·   ofl_1_1_rfn
630
631       ·   ogtsl
632
633       ·   openssl
634
635       ·   osl
636
637       ·   osl_1
638
639       ·   osl_1_1
640
641       ·   osl_2
642
643       ·   osl_2_1
644
645       ·   osl_3
646
647       ·   postgresql
648
649       ·   public_domain
650
651       ·   python
652
653       ·   python_2
654
655       ·   qpl
656
657       ·   qpl_1
658
659       ·   rpl
660
661       ·   rpl_1
662
663       ·   rpl_1_1
664
665       ·   rpl_1_3
666
667       ·   rpl_1_5
668
669       ·   rpsl
670
671       ·   rpsl_1
672
673       ·   ruby
674
675       ·   rscpl
676
677       ·   sgi_b
678
679       ·   sgi_b_1
680
681       ·   sgi_b_1_1
682
683       ·   sgi_b_2
684
685       ·   spl
686
687       ·   spl_1
688
689       ·   ssleay
690
691       ·   sugarcrm
692
693       ·   sugarcrm_1_1_3
694
695       ·   unicode_strict
696
697       ·   unicode_tou
698
699       ·   unlicense
700
701       ·   watcom
702
703       ·   watcom_1
704
705       ·   wtfpl
706
707       ·   wtfpl_1
708
709       ·   wtfpl_2
710
711       ·   wtfnmfpl
712
713       ·   wtfnmfpl_1
714
715       ·   zlib
716
717       ·   zlib_acknowledgement
718
719       ·   zpl
720
721       ·   zpl_1
722
723       ·   zpl_1_1
724
725       ·   zpl_2
726
727       ·   zpl_2_1
728
729   License combinations
730       Patterns each covering a combination of multiple licenses.
731
732       Each of these patterns has the tag  type:combo .
733
734       ·   perl
735
736   License groups
737       Patterns each covering either of multiple licenses.
738
739       Each of these patterns has the tag  type:group .
740
741       ·   bsd
742
743       ·   gnu
744
745       ·   mit
746

STRUCTURE

748       The regexp patterns follows the DefHash specification, and more
749       specifically the structure of Regexp::Pattern, defining access to one
750       pattern per DefHash object, as "pat".
751
752       Additionally, (sub)patterns are available in plaintext form, as
753       "pat.alt.*".
754
755   SUBJECT
756       Each pattern targets one or more subjects, i.e. ways to directly or
757       indirectly represent a license.
758
759       Beware that not all pattern objects fully cover all subjects.
760
761       trait
762           Distinguishing trait or feature expressed in licensing strings,
763           e.g. an advertising clause or granting "...or any later version."
764
765           Coverage for this subject is currently rather weak.
766
767       name
768           Distinguishing name, e.g. usable in license grant.
769
770       grant
771           Text granting the license.
772
773       license
774           Text containing licensing terms.
775
776           Texts containing both license grant and licensing terms (e.g. BSD-
777           and MIT-style licensing) may be classified as either subject grant
778           or subject license.  This may change, as needs for distinction is
779           better understood.
780
781   SCOPE
782       Each pattern can process material within some scope, i.e. a certain
783       sample size of the full subject.
784
785       As an example, <https://codesearch.debian.net/> use line-based
786       processing, where patterns spanning multiple lines are not applicable.
787
788       line
789           Pattern typically found within a single line.  Typically this means
790           less than 70 characters within scope.
791
792       sentence
793           Pattern matching within a sentence.
794
795           May span multiple lines, but not across multiple sentences.
796           Typically this means no full-stop or colon within scope.
797
798       paragraph
799           Pattern matching distinguishing paragraph.
800
801           May span multiple sentences, but not multiple paragraphs.
802           Typically this means no newline within scope.
803
804       section
805           Pattern matching distinguishing section.
806
807           May span multiple paragraphs, but not multiple sections.  Typically
808           this means blank line within scope.
809
810       multisection
811           Pattern may span multiple sections.
812
813   TAGS
814       Pattern defhashes optionally includes tags, which may help in selecting
815       multiple related patterns.
816
817       Tags are hierarchical, with ":" as separator, and may be extended
818       without notice.  Therefore take care to permit sub-parts when tag-
819       matching, e.g. using a regex like " /\Asome:tag(?:\z|:)/ ".
820
821       ·   family:bsd
822
823       ·   family:cc
824
825       ·   family:gpl
826
827       ·   family:mit
828
829       ·   family:zlib
830
831           Pattern covers a license part of a family of licenses.
832
833       ·   license:contains:grant:*
834
835           License mentions a preferred form for granting the license.
836
837           This implies that license is commonly granted by use of a different
838           (typically far shorter) text.
839
840           Fourth part (optional) is the key to corresponding license pattern,
841           for a grant belonging to a different license (when omitted then a
842           grant for same license is assumed).
843
844       ·   license:contains:license:*
845
846           License contains another license.
847
848           Wildcard is the key to corresponding license pattern.
849
850       ·   license:contains:name:*
851
852           License mentions name of another license.
853
854       ·   license:includes:license:*
855
856           License references coverage of another license.
857
858           Wildcard is the key to corresponding license pattern.
859
860       ·   license:is:grant
861
862           License is commonly granted by stating the whole license.
863
864       ·   license:published:*
865
866           License grant may include an "as published by..." reference.
867
868           Third part is the key to corresponding trait pattern.
869
870       ·   type:trait:publisher:*
871
872           Pattern covers an "as published by ..." license grant phrase.
873
874           Third part (optional) is the key to corresponding license pattern.
875
876       ·   type:usage:*:*
877
878           Pattern covers a specific usage of a license.
879
880           Third part is the key of the corresponding non-usage-specific
881           pattern.
882
883           Fourth part is the key of the corresponding usage trait pattern.
884
885       ·   type:combo
886
887           Pattern covers a combination of multiple licenses.
888
889       ·   type:group
890
891           Pattern covers either of multiple licenses.
892
893       ·   type:singleversion:*
894
895           Pattern covers a specific version of a license.
896
897           Third part is the key of the corresponding non-version-specific
898           pattern.
899
900       ·   type:trait
901
902           Pattern covers a single trait occuring in licenses.
903
904       ·   type:unversioned
905
906           Pattern covers a license without versioning scheme.
907
908       ·   type:versioned:decimal
909
910           Pattern covers a license using decimal number versioning scheme.
911

AUTHOR

913       Jonas Smedegaard "<dr@jones.dk>"
914
916         Copyright © 2016-2017 Jonas Smedegaard
917
918       This program is free software; you can redistribute it and/or modify it
919       under the terms of the GNU General Public License as published by the
920       Free Software Foundation; either version 3, or (at your option) any
921       later version.
922
923       This program is distributed in the hope that it will be useful, but
924       WITHOUT ANY WARRANTY; without even the implied warranty of
925       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
926       General Public License for more details.
927
928       You should have received a copy of the GNU General Public License along
929       with this program. If not, see <https://www.gnu.org/licenses/>.
930
931
932
933perl v5.32.0                      2020-07-28       Regexp::Pattern::License(3)
Impressum