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.10.0
10

SYNOPSIS

12           use Regexp::Pattern::License;
13           use Regexp::Pattern;
14
15           my $string = 'GNU General Public License version 3 or later';
16
17           print "Found!\n" if $string =~ re( 'License::gpl_3' );  # prints "Found!"
18

DESCRIPTION

20       Regexp::Pattern::License provides a hash of regular expression patterns
21       related to legal software licenses.
22
23       Regexp::Pattern is a convention for organizing reusable regex patterns.
24

PATTERNS

26   Licensing traits
27       Patterns each covering a single trait occuring in licenses.
28
29       Each of these patterns has the tag  type:trait .
30
31       •   addr_fsf
32
33           Since v3.4.0.
34
35       •   addr_fsf_franklin
36
37           Since v3.4.0.
38
39       •   addr_fsf_franklin_steet
40
41           Since v3.4.0.
42
43       •   addr_fsf_mass
44
45           Since v3.4.0.
46
47       •   addr_fsf_temple
48
49           Since v3.4.0.
50
51       •   any_of
52
53           Since v3.1.92.
54
55       •   by
56
57           Since v3.3.0.
58
59       •   by_apache
60
61           Since v3.3.0.
62
63       •   by_fsf
64
65           Since v3.3.0.
66
67       •   by_james_clark
68
69           Since v3.3.0.
70
71       •   by_psf
72
73           Since v3.3.0.
74
75       •   by_sam_hocevar
76
77           Since v3.3.0.
78
79       •   clause_retention
80
81       •   clause_reproduction
82
83       •   clause_advertising
84
85       •   clause_advertising_always
86
87       •   clause_non_endorsement
88
89       •   except_389
90
91       •   except_autoconf_data
92
93           Since v3.4.0.
94
95       •   except_autoconf_2
96
97           Since v3.4.0.
98
99       •   except_autoconf_2_archive
100
101           Since v3.4.0.
102
103       •   except_autoconf_2_autotroll
104
105           Since v3.4.0.
106
107       •   except_autoconf_2_g10
108
109           Since v3.4.0.
110
111       •   except_autoconf_3
112
113           Since v3.4.0.
114
115       •   except_bison_1_24
116
117           Since v3.4.0.
118
119       •   except_bison_2_2
120
121           Since v3.4.0.
122
123       •   except_classpath_2
124
125       •   except_ecos_2
126
127           Since v3.6.0.
128
129       •   except_epl
130
131       •   except_epl_mpl
132
133       •   except_faust
134
135           Since v3.4.0.
136
137       •   except_font_2
138
139           Since v3.7.0.
140
141       •   except_gcc_2
142
143           Since v3.7.0.
144
145       •   except_gcc_3_1
146
147           Since v3.7.0.
148
149       •   except_gstreamer
150
151       •   except_libtool
152
153       •   except_mif
154
155       •   except_openssl
156
157           Since v3.4.0.
158
159       •   except_ocaml-lgpl
160
161       •   except_openssl-lgpl
162
163           Since v3.4.0.
164
165       •   except_openssl_s3
166
167           Since v3.4.0.
168
169       •   except_prefix_agpl
170
171           Since v3.4.0.
172
173       •   except_prefix_generic
174
175           Since v3.4.0.
176
177       •   except_prefix_gpl
178
179           Since v3.4.0.
180
181       •   except_prefix_gpl_clisp
182
183           Since v3.4.0.
184
185       •   except_prefix_lgpl
186
187           Since v3.4.0.
188
189       •   except_proguard
190
191           Since v3.4.0.
192
193       •   except_qt_gpl_1
194
195           Since v3.4.0.
196
197       •   except_qt_gpl_eclipse
198
199           Since v3.4.0.
200
201       •   except_qt_gpl_openssl
202
203           Since v3.4.0.
204
205       •   except_qt_kernel
206
207           Since v3.4.0.
208
209       •   except_qt_lgpl_1_1
210
211           Since v3.4.0.
212
213       •   except_qt_nosource
214
215           Since v3.4.0.
216
217       •   except_sdc
218
219           Since v3.4.0.
220
221       •   except_sollya_4_1
222
223           Since v3.4.0.
224
225       •   except_warzone
226
227           Since v3.4.0.
228
229       •   except_wxwindows
230
231           Since v3.6.0.
232
233       •   except_xerces
234
235           Since v3.4.0.
236
237       •   fsf_unlimited
238
239       •   fsf_unlimited_retention
240
241       •   generated
242
243           Since v3.4.0.
244
245       •   license_label
246
247       •   license_label_spdx
248
249           Since v3.9.0.
250
251       •   license_label_trove
252
253           Since v3.1.100.
254
255       •   licensed_under
256
257           Since v3.1.92.
258
259       •   or_at_option
260
261           Since v3.1.92.
262
263       •   usage_rfn
264
265           Since v3.2.0.
266
267       •   version
268
269           Since v3.1.92.
270
271       •   version_later
272
273       •   version_later_paragraph
274
275       •   version_later_postfix
276
277       •   version_number
278
279       •   version_number_suffix
280
281       •   version_only
282
283       •   version_prefix
284
285       •   version_numberstring
286
287           Since v3.1.92.
288
289   Single licenses
290       Patterns each covering a single license.
291
292       Each of these patterns has exactly one of these tags:  type:unversioned
293        type:versioned:decimal  type:singleversion:*  type:usage:*:* .
294
295       •   aal
296
297       •   abstyles
298
299       •   adobe_2006
300
301       •   adobe_glyph
302
303       •   adsl
304
305       •   afl
306
307       •   afl_1_1
308
309           Since v3.1.95.
310
311       •   afl_1_2
312
313           Since v3.1.95.
314
315       •   afl_2
316
317           Since v3.1.95.
318
319       •   afl_2_1
320
321           Since v3.1.95.
322
323       •   afl_3
324
325           Since v3.1.95.
326
327       •   afmparse
328
329       •   agpl
330
331       •   agpl_1
332
333           Since v3.1.102.
334
335       •   agpl_1_only
336
337       •   agpl_1_or_later
338
339       •   agpl_2
340
341       •   agpl_3
342
343       •   agpl_3_only
344
345       •   agpl_3_or_later
346
347       •   aladdin
348
349       •   aladdin_8
350
351           Since v3.1.91.
352
353       •   aladdin_9
354
355           Since v3.1.91.
356
357       •   amdplpa
358
359       •   aml
360
361       •   ampas
362
363       •   antlr_pd
364
365       •   apache
366
367       •   apache_1
368
369           Since v3.1.95.
370
371       •   apache_1_1
372
373           Since v3.1.95.
374
375       •   apache_2
376
377           Since v3.1.95.
378
379       •   apafml
380
381       •   apl
382
383       •   apl_1
384
385       •   apsl
386
387       •   apsl_1
388
389       •   apsl_1_1
390
391       •   apsl_1_2
392
393       •   apsl_2
394
395       •   artistic
396
397       •   artistic_1
398
399           Since v3.1.95.
400
401       •   artistic_1_cl8
402
403           Since v3.1.95.
404
405       •   artistic_1_perl
406
407           Since v3.1.95.
408
409       •   artistic_2
410
411       •   bahyph
412
413       •   barr
414
415       •   bdwgc
416
417           Since v3.1.0.
418
419       •   bdwgc_matlab
420
421           Since v3.1.0.
422
423       •   beerware
424
425       •   bittorrent
426
427       •   bittorrent_1
428
429       •   bittorrent_1_1
430
431       •   borceux
432
433       •   bsd_0_clause
434
435           Since v3.5.0.
436
437       •   bsd_1_clause
438
439           Since v3.6.0.
440
441       •   bsd_2_clause
442
443       •   bsd_2_clause_freebsd
444
445           Since v3.6.0.
446
447       •   bsd_2_clause_netbsd
448
449           Since v3.6.0.
450
451       •   bsd_2_clause_patent
452
453           Since v3.6.0.
454
455       •   bsd_2_clause_views
456
457       •   bsd_3_clause
458
459       •   bsd_3_clause_attribution
460
461           Since v3.6.0.
462
463       •   bsd_3_clause_clear
464
465           Since v3.6.0.
466
467       •   bsd_3_clause_eclipse
468
469           Since v3.9.0.
470
471       •   bsd_3_clause_lbnl
472
473           Since v3.6.0.
474
475       •   bsd_3_clause_modification
476
477       •   bsd_3_clause_no_military_license
478
479           Since v3.6.0.
480
481       •   bsd_3_clause_no_nuclear_license
482
483           Since v3.6.0.
484
485       •   bsd_3_clause_no_nuclear_license_2014
486
487           Since v3.6.0.
488
489       •   bsd_3_clause_no_nuclear_warranty
490
491           Since v3.6.0.
492
493       •   bsd_3_clause_refractions
494
495           Since v3.9.0.
496
497       •   bsd_4_clause
498
499       •   bsd_4_clause_uc
500
501           Since v3.7.0.
502
503       •   bsd_protection
504
505           Since v3.8.0.
506
507       •   bsl
508
509           Since v3.1.90.
510
511       •   bsl_1
512
513           Since v3.1.90.
514
515       •   bzip2
516
517       •   bzip2_1_0_5
518
519       •   bzip2_1_0_6
520
521       •   cal
522
523           Since v3.5.0.
524
525       •   cal_1
526
527           Since v3.5.0.
528
529       •   caldera
530
531       •   catosl
532
533       •   catosl_1_1
534
535       •   cc_by
536
537       •   cc_by_1
538
539           Since v3.1.101.
540
541       •   cc_by_2
542
543           Since v3.1.101.
544
545       •   cc_by_2_5
546
547           Since v3.1.101.
548
549       •   cc_by_3
550
551           Since v3.1.101.
552
553       •   cc_by_4
554
555           Since v3.1.101.
556
557       •   cc_by_nc
558
559       •   cc_by_nc_1
560
561           Since v3.1.101.
562
563       •   cc_by_nc_2
564
565           Since v3.1.101.
566
567       •   cc_by_nc_2_5
568
569           Since v3.1.101.
570
571       •   cc_by_nc_3
572
573           Since v3.1.101.
574
575       •   cc_by_nc_4
576
577           Since v3.1.101.
578
579       •   cc_by_nc_nd
580
581       •   cc_by_nc_nd_1
582
583           Since v3.1.101.
584
585       •   cc_by_nc_nd_2
586
587           Since v3.1.101.
588
589       •   cc_by_nc_nd_2_5
590
591           Since v3.1.101.
592
593       •   cc_by_nc_nd_3
594
595           Since v3.1.101.
596
597       •   cc_by_nc_nd_4
598
599           Since v3.1.101.
600
601       •   cc_by_nc_sa
602
603       •   cc_by_nc_sa_1
604
605           Since v3.1.101.
606
607       •   cc_by_nc_sa_2
608
609           Since v3.1.101.
610
611       •   cc_by_nc_sa_2_5
612
613           Since v3.1.101.
614
615       •   cc_by_nc_sa_3
616
617           Since v3.1.101.
618
619       •   cc_by_nc_sa_4
620
621           Since v3.1.101.
622
623       •   cc_by_nd
624
625       •   cc_by_nd_1
626
627           Since v3.1.101.
628
629       •   cc_by_nd_2
630
631           Since v3.1.101.
632
633       •   cc_by_nd_2_5
634
635           Since v3.1.101.
636
637       •   cc_by_nd_3
638
639           Since v3.1.101.
640
641       •   cc_by_nd_4
642
643           Since v3.1.101.
644
645       •   cc_by_sa
646
647       •   cc_by_sa_1
648
649           Since v3.1.101.
650
651       •   cc_by_sa_2
652
653           Since v3.1.101.
654
655       •   cc_by_sa_2_5
656
657           Since v3.1.101.
658
659       •   cc_by_sa_3
660
661           Since v3.1.101.
662
663       •   cc_by_sa_4
664
665           Since v3.1.101.
666
667       •   cc_cc0
668
669       •   cc_cc0_1
670
671           Since v3.1.101.
672
673       •   cc_devnations
674
675           Since v3.7.0.
676
677       •   cc_devnations_2
678
679           Since v3.7.0.
680
681       •   cc_nc
682
683           Since v3.1.101.
684
685       •   cc_nc_1
686
687           Since v3.1.101.
688
689       •   cc_nc_sa
690
691           Since v3.7.0.
692
693       •   cc_nc_sa_1
694
695           Since v3.7.0.
696
697       •   cc_nc_sp
698
699           Since v3.7.0.
700
701       •   cc_nc_sp_1
702
703           Since v3.7.0.
704
705       •   cc_nd_nc
706
707           Since v3.7.0.
708
709       •   cc_nd_nc_1
710
711           Since v3.7.0.
712
713       •   cc_nd
714
715           Since v3.1.101.
716
717       •   cc_nd_1
718
719           Since v3.1.101.
720
721       •   cc_pd
722
723           Since v3.7.0.
724
725       •   cc_pdd
726
727           Since v3.7.0.
728
729       •   cc_pddc
730
731           Since v3.7.0.
732
733       •   cc_sa
734
735           Since v3.1.101.
736
737       •   cc_sa_1
738
739           Since v3.1.101.
740
741       •   cc_sampling
742
743           Since v3.7.0.
744
745       •   cc_sampling_1
746
747           Since v3.7.0.
748
749       •   cc_sp
750
751       •   cc_sp_1
752
753           Since v3.7.0.
754
755       •   cddl
756
757       •   cddl_1
758
759           Since v3.1.101.
760
761       •   cddl_1_1
762
763           Since v3.1.101.
764
765       •   cecill
766
767       •   cecill_1
768
769       •   cecill_1_1
770
771       •   cecill_2
772
773       •   cecill_2_1
774
775       •   cecill_b
776
777       •   cecill_b_1
778
779           Since v3.1.95.
780
781       •   cecill_c
782
783       •   cecill_c_1
784
785           Since v3.1.95.
786
787       •   cnri_jython
788
789       •   cnri_python
790
791       •   cnri_python_gpl_compat
792
793       •   condor
794
795           Since v3.8.0.
796
797       •   condor_1_1
798
799           Since v3.8.0.
800
801       •   cpal
802
803       •   cpal_1
804
805       •   cpl
806
807           Since v3.1.101.
808
809       •   cpl_1
810
811           Since v3.1.101.
812
813       •   cpol
814
815       •   cpol_1_02
816
817       •   crossword
818
819           Since v3.8.0.
820
821       •   cryptix
822
823       •   cua_opl
824
825       •   cua_opl_1
826
827       •   cube
828
829       •   curl
830
831       •   cvw
832
833           Since v3.5.0.
834
835       •   d_fsl
836
837           Since v3.8.0.
838
839       •   d_fsl_1
840
841           Since v3.8.0.
842
843       •   dbad
844
845           Since v3.8.0.
846
847       •   dbad_0_2
848
849           Since v3.8.0.
850
851       •   dbad_0_3
852
853           Since v3.8.0.
854
855       •   dbad_1
856
857           Since v3.8.0.
858
859       •   dbad_1_1
860
861           Since v3.8.0.
862
863       •   dont_ask
864
865           Since v3.8.0.
866
867       •   dsdp
868
869       •   ecl
870
871       •   ecl_1
872
873       •   ecl_2
874
875       •   ecos_1_1
876
877           Since v3.6.0.
878
879       •   ecos_2
880
881           Since v3.6.0.
882
883       •   efl
884
885           Since v3.6.0.
886
887       •   efl_1
888
889           Since v3.6.0.
890
891       •   efl_2
892
893           Since v3.6.0.
894
895       •   entessa
896
897           Since v3.6.0.
898
899       •   epl
900
901       •   epl_1
902
903       •   epl_2
904
905       •   erlpl
906
907           Since v3.7.0.
908
909       •   erlpl_1_1
910
911           Since v3.7.0.
912
913       •   eudatagrid
914
915           Since v3.6.0.
916
917       •   eupl
918
919       •   eupl_1
920
921       •   eupl_1_1
922
923       •   eupl_1_2
924
925       •   eurosym
926
927       •   fair
928
929           Since v3.6.0.
930
931       •   fair_source
932
933           Since v3.8.0.
934
935       •   fair_source_0_9
936
937           Since v3.8.0.
938
939       •   fal
940
941           Since v3.8.0.
942
943       •   fal_1_1
944
945           Since v3.8.0.
946
947       •   fal_1_2
948
949           Since v3.8.0.
950
951       •   fal_1_3
952
953           Since v3.8.0.
954
955       •   festival
956
957           Since v3.8.0.
958
959       •   frameworx
960
961           Since v3.6.0.
962
963       •   frameworx_1
964
965           Since v3.6.0.
966
967       •   fsfap
968
969       •   fsful
970
971       •   fsfullr
972
973       •   ftl
974
975       •   gfdl
976
977       •   gfdl_1_1
978
979       •   gfdl_1_1_only
980
981       •   gfdl_1_1_or_later
982
983       •   gfdl_1_2
984
985       •   gfdl_1_2_only
986
987       •   gfdl_1_2_or_later
988
989       •   gfdl_1_3
990
991       •   gfdl_1_3_only
992
993       •   gfdl_1_3_or_later
994
995       •   gfdl_niv
996
997       •   glide
998
999           Since v3.8.0.
1000
1001       •   gpl
1002
1003       •   gpl_1
1004
1005           Since v3.3.0.
1006
1007       •   gpl_1_only
1008
1009       •   gpl_1_or_later
1010
1011       •   gpl_2
1012
1013           Since v3.3.0.
1014
1015       •   gpl_2_only
1016
1017       •   gpl_2_or_later
1018
1019       •   gpl_3
1020
1021           Since v3.3.0.
1022
1023       •   gpl_3_only
1024
1025       •   gpl_3_or_later
1026
1027       •   gsoap
1028
1029           Since v3.7.0.
1030
1031       •   gsoap_1.3b
1032
1033           Since v3.7.0.
1034
1035       •   hpnd
1036
1037           Since v3.6.0.
1038
1039       •   hpnd_sell
1040
1041           Since v3.6.0.
1042
1043       •   ibm_pibs
1044
1045           Since v3.8.0.
1046
1047       •   icu
1048
1049       •   ijg
1050
1051           Since v3.8.0.
1052
1053       •   imlib2
1054
1055           Since v3.8.0.
1056
1057       •   intel
1058
1059           Since v3.5.0.
1060
1061       •   ipa
1062
1063           Since v3.6.0.
1064
1065       •   ipl
1066
1067       •   ipl_1
1068
1069       •   isc
1070
1071       •   jabberpl
1072
1073           Since v3.5.0.
1074
1075       •   json
1076
1077           Since v3.1.90.
1078
1079       •   jython
1080
1081           Since v3.1.90.
1082
1083       •   kevlin_henney
1084
1085           Since v3.1.90.
1086
1087       •   leptonica
1088
1089           Since v3.8.0.
1090
1091       •   lgpl
1092
1093       •   lgpl_2
1094
1095       •   lgpl_2_only
1096
1097       •   lgpl_2_or_later
1098
1099       •   lgpl_2_1
1100
1101       •   lgpl_2_1_only
1102
1103       •   lgpl_2_1_or_later
1104
1105       •   lgpl_3
1106
1107       •   lgpl_3_only
1108
1109       •   lgpl_3_or_later
1110
1111       •   lgpl_bdwgc
1112
1113           Since v3.1.0.
1114
1115       •   libpng
1116
1117       •   libtiff
1118
1119           Since v3.8.0.
1120
1121       •   liliq_p
1122
1123           Since v3.6.0.
1124
1125       •   liliq_p_1_1
1126
1127           Since v3.6.0.
1128
1129       •   liliq_r
1130
1131           Since v3.6.0.
1132
1133       •   liliq_r_1_1
1134
1135           Since v3.6.0.
1136
1137       •   liliq_r_plus
1138
1139           Since v3.6.0.
1140
1141       •   liliq_r_plus_1_1
1142
1143           Since v3.6.0.
1144
1145       •   llgpl
1146
1147       •   lpl
1148
1149           Since v3.6.0.
1150
1151       •   lpl_1
1152
1153           Since v3.6.0.
1154
1155       •   lpl_1_02
1156
1157           Since v3.6.0.
1158
1159       •   lppl
1160
1161       •   lppl_1
1162
1163       •   lppl_1_1
1164
1165       •   lppl_1_2
1166
1167       •   lppl_1_3a
1168
1169       •   lppl_1_3c
1170
1171       •   miros
1172
1173           Since v3.6.0.
1174
1175       •   mit_0
1176
1177           Since v3.6.0.
1178
1179       •   mit_advertising
1180
1181       •   mit_cmu
1182
1183       •   mit_cmu_warranty
1184
1185       •   mit_enna
1186
1187       •   mit_epinions
1188
1189           Since v3.7.0.
1190
1191       •   mit_feh
1192
1193       •   mit_new
1194
1195       •   mit_new_materials
1196
1197       •   mit_old
1198
1199       •   mit_oldstyle
1200
1201       •   mit_oldstyle_disclaimer
1202
1203       •   mit_oldstyle_permission
1204
1205       •   mit_open_group
1206
1207           Since v3.6.0.
1208
1209       •   mit_openvision
1210
1211           Since v3.7.0.
1212
1213       •   mit_osf
1214
1215           Since v3.7.0.
1216
1217       •   mit_unixcrypt
1218
1219           Since v3.7.0.
1220
1221       •   mit_whatever
1222
1223           Since v3.7.0.
1224
1225       •   mit_widget
1226
1227           Since v3.7.0.
1228
1229       •   mit_xfig
1230
1231           Since v3.7.0.
1232
1233       •   motosoto
1234
1235           Since v3.5.0.
1236
1237       •   mpich2
1238
1239           Since v3.8.0.
1240
1241       •   mpl
1242
1243       •   mpl_1
1244
1245           Since v3.1.101.
1246
1247       •   mpl_1_1
1248
1249           Since v3.1.101.
1250
1251       •   mpl_2
1252
1253           Since v3.1.101.
1254
1255       •   mpl_2_no_copyleft_exception
1256
1257           Since v3.8.0.
1258
1259       •   ms_cl
1260
1261           Since v3.8.0.
1262
1263       •   ms_pl
1264
1265       •   ms_rl
1266
1267       •   mulan
1268
1269           Since v3.5.0.
1270
1271       •   mulan_1
1272
1273           Since v3.5.0.
1274
1275       •   mulan_2
1276
1277           Since v3.5.0.
1278
1279       •   multics
1280
1281           Since v3.6.0.
1282
1283       •   nasa
1284
1285           Since v3.6.0.
1286
1287       •   nasa_1_3
1288
1289           Since v3.6.0.
1290
1291       •   naumen
1292
1293           Since v3.6.0.
1294
1295       •   nbpl
1296
1297           Since v3.8.0.
1298
1299       •   nbpl_1
1300
1301           Since v3.8.0.
1302
1303       •   ncsa
1304
1305           Since v3.6.0.
1306
1307       •   ngpl
1308
1309       •   nokia
1310
1311           Since v3.6.0.
1312
1313       •   nosl
1314
1315           Since v3.8.0.
1316
1317       •   nosl_1
1318
1319           Since v3.8.0.
1320
1321       •   npl
1322
1323       •   npl_1
1324
1325       •   npl_1_1
1326
1327       •   nposl
1328
1329           Since v3.6.0.
1330
1331       •   nposl_3
1332
1333           Since v3.6.0.
1334
1335       •   ntp
1336
1337       •   ntp_disclaimer
1338
1339       •   oclc
1340
1341       •   oclc_1
1342
1343       •   oclc_2
1344
1345       •   odbl
1346
1347           Since v3.8.0.
1348
1349       •   odbl_1
1350
1351           Since v3.8.0.
1352
1353       •   odc_by
1354
1355           Since v3.8.0.
1356
1357       •   odc_by_1
1358
1359           Since v3.8.0.
1360
1361       •   ofl
1362
1363       •   ofl_1
1364
1365           Since v3.1.101.
1366
1367       •   ofl_1_no_rfn
1368
1369           Since v3.2.0.
1370
1371       •   ofl_1_rfn
1372
1373           Since v3.2.0.
1374
1375       •   ofl_1_1
1376
1377           Since v3.1.101.
1378
1379       •   ofl_1_1_no_rfn
1380
1381           Since v3.2.0.
1382
1383       •   ofl_1_1_rfn
1384
1385           Since v3.2.0.
1386
1387       •   ogc
1388
1389           Since v3.6.0.
1390
1391       •   ogc_1
1392
1393           Since v3.6.0.
1394
1395       •   ogtsl
1396
1397       •   oldap
1398
1399           Since v3.5.0.
1400
1401       •   oldap_1_1
1402
1403           Since v3.5.0.
1404
1405       •   oldap_1_2
1406
1407           Since v3.5.0.
1408
1409       •   oldap_1_3
1410
1411           Since v3.5.0.
1412
1413       •   oldap_1_4
1414
1415           Since v3.5.0.
1416
1417       •   oldap_2
1418
1419           Since v3.5.0.
1420
1421       •   oldap_2_0_1
1422
1423           Since v3.5.0.
1424
1425       •   oldap_2_1
1426
1427           Since v3.5.0.
1428
1429       •   oldap_2_2
1430
1431           Since v3.5.0.
1432
1433       •   oldap_2_2_1
1434
1435           Since v3.5.0.
1436
1437       •   oldap_2_2_2
1438
1439           Since v3.5.0.
1440
1441       •   oldap_2_3
1442
1443           Since v3.5.0.
1444
1445       •   oldap_2_4
1446
1447           Since v3.5.0.
1448
1449       •   oldap_2_5
1450
1451           Since v3.5.0.
1452
1453       •   oldap_2_6
1454
1455           Since v3.5.0.
1456
1457       •   oldap_2_7
1458
1459           Since v3.5.0.
1460
1461       •   oldap_2_8
1462
1463           Since v3.5.0.
1464
1465       •   openssl
1466
1467       •   opl
1468
1469           Since v3.6.0.
1470
1471       •   opl_1
1472
1473           Since v3.6.0.
1474
1475       •   oset_pl
1476
1477           Since v3.6.0.
1478
1479       •   oset_pl_2_1
1480
1481           Since v3.6.0.
1482
1483       •   osl
1484
1485       •   osl_1
1486
1487       •   osl_1_1
1488
1489       •   osl_2
1490
1491       •   osl_2_1
1492
1493       •   osl_3
1494
1495       •   pddl
1496
1497           Since v3.8.0.
1498
1499       •   pddl_1
1500
1501           Since v3.8.0.
1502
1503       •   peer_production
1504
1505           Since v3.8.0.
1506
1507       •   php
1508
1509           Since v3.6.0.
1510
1511       •   php_3
1512
1513           Since v3.6.0.
1514
1515       •   php_3_01
1516
1517           Since v3.6.0.
1518
1519       •   postgresql
1520
1521       •   psf_2
1522
1523           Since v3.9.0.
1524
1525       •   public_domain
1526
1527       •   qpl
1528
1529       •   qpl_1
1530
1531       •   rpl
1532
1533       •   rpl_1
1534
1535       •   rpl_1_1
1536
1537       •   rpl_1_3
1538
1539       •   rpl_1_5
1540
1541       •   rpsl
1542
1543       •   rpsl_1
1544
1545           Since v3.1.95.
1546
1547       •   ruby
1548
1549       •   rscpl
1550
1551       •   sax_pd
1552
1553           Since v3.8.0.
1554
1555       •   sds
1556
1557           Since v3.8.0.
1558
1559       •   sds_1
1560
1561           Since v3.8.0.
1562
1563       •   sgi_b
1564
1565       •   sgi_b_1
1566
1567           Since v3.1.101.
1568
1569       •   sgi_b_1_1
1570
1571           Since v3.1.101.
1572
1573       •   sgi_b_2
1574
1575           Since v3.1.101.
1576
1577       •   simpl
1578
1579           Since v3.6.0.
1580
1581       •   simpl_2
1582
1583           Since v3.6.0.
1584
1585       •   simple_w3c
1586
1587           Since v3.6.0.
1588
1589       •   simple_w3c_1_1
1590
1591           Since v3.6.0.
1592
1593       •   sissl
1594
1595           Since v3.5.0.
1596
1597       •   sissl_1_1
1598
1599           Since v3.5.0.
1600
1601       •   sissl_1_2
1602
1603           Since v3.5.0.
1604
1605       •   sleepycat
1606
1607           Since v3.6.0.
1608
1609       •   sncl
1610
1611           Since v3.8.0.
1612
1613       •   sncl_1_10
1614
1615           Since v3.8.0.
1616
1617       •   sncl_2_0_1
1618
1619           Since v3.8.0.
1620
1621       •   sncl_2_0_2
1622
1623           Since v3.8.0.
1624
1625       •   sncl_2_1
1626
1627           Since v3.8.0.
1628
1629       •   sncl_2_3
1630
1631           Since v3.8.0.
1632
1633       •   spl
1634
1635       •   spl_1
1636
1637       •   ssleay
1638
1639           Since v3.2.0.
1640
1641       •   stlport
1642
1643           Since v3.8.0.
1644
1645       •   sugarcrm
1646
1647       •   sugarcrm_1_1_3
1648
1649       •   tosl
1650
1651           Since v3.6.0.
1652
1653       •   truecrypt
1654
1655           Since v3.8.0.
1656
1657       •   truecrypt_3
1658
1659           Since v3.8.0.
1660
1661       •   ucl
1662
1663           Since v3.6.0.
1664
1665       •   ucl_1
1666
1667           Since v3.6.0.
1668
1669       •   unicode_dfs
1670
1671           Since v3.9.0.
1672
1673       •   unicode_dfs_2015
1674
1675           Since v3.6.0.
1676
1677       •   unicode_dfs_2016
1678
1679           Since v3.6.0.
1680
1681       •   unicode_strict
1682
1683       •   unicode_tou
1684
1685       •   unlicense
1686
1687       •   upl
1688
1689           Since v3.6.0.
1690
1691       •   upl_1
1692
1693           Since v3.6.0.
1694
1695       •   vsl
1696
1697           Since v3.6.0.
1698
1699       •   vsl_1
1700
1701           Since v3.6.0.
1702
1703       •   vspl
1704
1705           Since v3.8.0.
1706
1707       •   w3c
1708
1709           Since v3.6.0.
1710
1711       •   w3c_19980519
1712
1713           Since v3.6.0.
1714
1715       •   w3c_19980720
1716
1717           Since v3.6.0.
1718
1719       •   w3c_20021231
1720
1721           Since v3.6.0.
1722
1723       •   w3c_20150513
1724
1725           Since v3.6.0.
1726
1727       •   watcom
1728
1729       •   watcom_1
1730
1731       •   wordnet
1732
1733           Since v3.8.0.
1734
1735       •   wtfpl
1736
1737       •   wtfpl_1
1738
1739           Since v3.1.95.
1740
1741       •   wtfpl_2
1742
1743           Since v3.1.95.
1744
1745       •   wtfnmfpl
1746
1747           Since v3.1.95.
1748
1749       •   wtfnmfpl_1
1750
1751           Since v3.1.95.
1752
1753       •   x11
1754
1755           Since v3.6.0.
1756
1757       •   xfree86
1758
1759           Since v3.8.0.
1760
1761       •   xfree86_1_1
1762
1763           Since v3.8.0.
1764
1765       •   xnet
1766
1767           Since v3.6.0.
1768
1769       •   ypl
1770
1771           Since v3.8.0.
1772
1773       •   ypl_1
1774
1775           Since v3.8.0.
1776
1777       •   ypl_1_1
1778
1779           Since v3.8.0.
1780
1781       •   zed
1782
1783           Since v3.8.0.
1784
1785       •   zend
1786
1787           Since v3.8.0.
1788
1789       •   zend_2
1790
1791           Since v3.8.0.
1792
1793       •   zimbra
1794
1795           Since v3.8.0.
1796
1797       •   zimbra_1_3
1798
1799           Since v3.8.0.
1800
1801       •   zimbra_1_4
1802
1803       •   zlib
1804
1805       •   zlib_acknowledgement
1806
1807       •   zpl
1808
1809           Since v3.1.102.
1810
1811       •   zpl_1
1812
1813           Since v3.1.102.
1814
1815       •   zpl_1_1
1816
1817           Since v3.1.102.
1818
1819       •   zpl_2
1820
1821           Since v3.1.102.
1822
1823       •   zpl_2_1
1824
1825           Since v3.1.102.
1826
1827   License combinations
1828       Patterns each covering a combination of multiple licenses.
1829
1830       Each of these patterns has the tag  type:combo .
1831
1832       •   net_snmp
1833
1834           Since v3.6.0.
1835
1836       •   perl
1837
1838       •   python_2
1839
1840           Since v3.9.0.
1841
1842   License groups
1843       Patterns each covering either of multiple licenses.
1844
1845       Each of these patterns has the tag  type:group .
1846
1847       •   bsd
1848
1849       •   cc
1850
1851           Since v3.6.0.
1852
1853       •   gnu
1854
1855       •   mit
1856

STRUCTURE

1858       The regexp patterns follows the DefHash specification, and more
1859       specifically the structure of Regexp::Pattern, defining access to one
1860       pattern per DefHash object, as "pat".
1861
1862       Additionally, (sub)patterns are available in plaintext form, as
1863       "pat.alt.*".
1864
1865   SUBJECT
1866       Each pattern targets one or more subjects, i.e. ways to directly or
1867       indirectly represent a license.
1868
1869       Beware that not all pattern objects fully cover all subjects.
1870
1871       trait
1872           Distinguishing trait or feature expressed in licensing strings,
1873           e.g. an advertising clause or granting "...or any later version."
1874
1875           Coverage for this subject is currently rather weak.
1876
1877       name
1878           Distinguishing name, e.g. usable in license grant.
1879
1880       grant
1881           Text granting the license.
1882
1883       license
1884           Text containing licensing terms.
1885
1886           Texts containing both license grant and licensing terms (e.g. BSD-
1887           and MIT-style licensing) may be classified as either subject grant
1888           or subject license.  This may change, as needs for distinction is
1889           better understood.
1890
1891   SCOPE
1892       Each pattern can process material within some scope, i.e. a certain
1893       sample size of the full subject.
1894
1895       As an example, <https://codesearch.debian.net/> use line-based
1896       processing, where patterns spanning multiple lines are not applicable.
1897
1898       line
1899           Pattern typically found within a single line.  Typically this means
1900           less than 70 characters within scope.
1901
1902       sentence
1903           Pattern matching within a sentence.
1904
1905           May span multiple lines, but not across multiple sentences.
1906           Typically this means no full-stop or colon within scope.
1907
1908       paragraph
1909           Pattern matching distinguishing paragraph.
1910
1911           May span multiple sentences, but not multiple paragraphs.
1912           Typically this means no newline within scope.
1913
1914       section
1915           Pattern matching distinguishing section.
1916
1917           May span multiple paragraphs, but not multiple sections.  Typically
1918           this means blank line within scope.
1919
1920       multisection
1921           Pattern may span multiple sections.
1922
1923   OBSOLETE OBJECTS
1924       License objects obsoleted by improved coverage of other objects, and
1925       provided only as dummy objects.
1926
1927       •   python
1928
1929           Since v3.9.0.
1930
1931           Replaced by "psf_2" and "python_2".
1932
1933       •   wordnet_3
1934
1935           Since v3.9.0.
1936
1937           Replaced by "wordnet".
1938
1939   TAGS
1940       Pattern defhashes optionally includes tags, which may help in selecting
1941       multiple related patterns.
1942
1943       Tags are hierarchical, with ":" as separator, and may be extended
1944       without notice.  Therefore take care to permit sub-parts when tag-
1945       matching, e.g. using a regex like " /\Asome:tag(?:\z|:)/ ".
1946
1947       •   family:bsd
1948
1949       •   family:cc
1950
1951       •   family:gpl
1952
1953       •   family:mit
1954
1955       •   family:zlib
1956
1957           Pattern covers a license part of a family of licenses.
1958
1959       •   license:contains:grant:*
1960
1961           License mentions a preferred form for granting the license.
1962
1963           This implies that license is commonly granted by use of a different
1964           (typically far shorter) text.
1965
1966           Fourth part (optional) is the key to corresponding license pattern,
1967           for a grant belonging to a different license (when omitted then a
1968           grant for same license is assumed).
1969
1970       •   license:contains:license:*
1971
1972           License contains another license.
1973
1974           Wildcard is the key to corresponding license pattern.
1975
1976       •   license:contains:name:*
1977
1978           License mentions name of another license.
1979
1980       •   license:includes:license:*
1981
1982           License references coverage of another license.
1983
1984           Wildcard is the key to corresponding license pattern.
1985
1986       •   license:is:grant
1987
1988           License is commonly granted by stating the whole license.
1989
1990       •   license:published:*
1991
1992           License grant may include an "as published by..." reference.
1993
1994           Third part is the key to corresponding trait pattern.
1995
1996       •   type:trait:publisher:*
1997
1998           Pattern covers an "as published by ..." license grant phrase.
1999
2000           Third part (optional) is the key to corresponding license pattern.
2001
2002       •   type:usage:*:*
2003
2004           Pattern covers a specific usage of a license.
2005
2006           Third part is the key of the corresponding non-usage-specific
2007           pattern.
2008
2009           Fourth part is the key of the corresponding usage trait pattern.
2010
2011       •   type:combo
2012
2013           Pattern covers a combination of multiple licenses.
2014
2015       •   type:group
2016
2017           Pattern covers either of multiple licenses.
2018
2019       •   type:singleversion:*
2020
2021           Pattern covers a specific version of a license.
2022
2023           Third part is the key of the corresponding non-version-specific
2024           pattern.
2025
2026       •   type:trait
2027
2028           Pattern covers a single trait occuring in licenses.
2029
2030       •   type:unversioned
2031
2032           Pattern covers a license without versioning scheme.
2033
2034       •   type:versioned:decimal
2035
2036           Pattern covers a license using decimal number versioning scheme.
2037

EXAMPLES

2039   Browse patterns
2040       The "official" way to browse patterns is using App::RegexpPatternUtils:
2041
2042           show-regexp-pattern-module --page-result -- License
2043
2044       Unfortunately, App::RegexpPatternUtils has a deep dependency tree.  An
2045       alternative is to use Data::Printer and "less":
2046
2047           perl -CS -MRegexp::Pattern::License -MDDP -e 'p %Regexp::Pattern::License::RE, fulldump => 1, output => stdout' | less -RS
2048

AUTHOR

2050       Jonas Smedegaard "<dr@jones.dk>"
2051
2053         Copyright © 2016-2021 Jonas Smedegaard
2054
2055         Copyright © 2017-2021 Purism SPC
2056
2057       This program is free software; you can redistribute it and/or modify it
2058       under the terms of the GNU General Public License as published by the
2059       Free Software Foundation; either version 3, or (at your option) any
2060       later version.
2061
2062       This program is distributed in the hope that it will be useful, but
2063       WITHOUT ANY WARRANTY; without even the implied warranty of
2064       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
2065       General Public License for more details.
2066
2067       You should have received a copy of the GNU General Public License along
2068       with this program. If not, see <https://www.gnu.org/licenses/>.
2069
2070
2071
2072perl v5.36.0                      2023-01-19       Regexp::Pattern::License(3)
Impressum