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

STRUCTURE

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

EXAMPLES

2087   Browse patterns
2088       The "official" way to browse patterns is using App::RegexpPatternUtils:
2089
2090           show-regexp-pattern-module --page-result -- License
2091
2092       Unfortunately, App::RegexpPatternUtils has a deep dependency tree.  An
2093       alternative is to use Data::Printer and "less":
2094
2095           perl -CS -MRegexp::Pattern::License -MDDP -e 'p %Regexp::Pattern::License::RE, fulldump => 1, output => stdout' | less -RS
2096

AUTHOR

2098       Jonas Smedegaard "<dr@jones.dk>"
2099
2101         Copyright © 2016-2021 Jonas Smedegaard
2102
2103         Copyright © 2017-2021 Purism SPC
2104
2105       This program is free software; you can redistribute it and/or modify it
2106       under the terms of the GNU General Public License as published by the
2107       Free Software Foundation; either version 3, or (at your option) any
2108       later version.
2109
2110       This program is distributed in the hope that it will be useful, but
2111       WITHOUT ANY WARRANTY; without even the implied warranty of
2112       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
2113       General Public License for more details.
2114
2115       You should have received a copy of the GNU General Public License along
2116       with this program. If not, see <https://www.gnu.org/licenses/>.
2117
2118
2119
2120perl v5.38.0                      2023-08-09       Regexp::Pattern::License(3)
Impressum