package old
Import Path
github.com/google/licensecheck/old (on go.dev)
Dependency Relation
imports 6 packages, and imported by 2 packages
Involved Source Files
data.gen.go
Package old is an old (v0.1.0) copy of the licensecheck package,
for easier comparison with the new Scan API.
normalize.go
type_string.go
urls.go
Package-Level Type Names (total 11, in which 6 are exported)
/* sort exporteds by: | */
A Checker matches a set of known licenses.
// dict maps word to index in words
index map[phrase][]indexEntry
licenses []license
urls map[string]string
// list of known words
Cover is like the top-level function Cover, but it uses the
set of licenses in the Checker instead of the built-in license set.
licenseURL reports whether url is a known URL, and returns its name if it is.
normalize turns the input byte slice into a slice of normalized words
as a document, including the indexes required to recover the original.
Normalized text is all lower case, stripped of punctuation and space.
The slice of normalized words is a slice of indexes into c.words,
which is updated to add new words as needed.
Using integer indexes makes the comparison against input texts faster.
submatches returns a list describing the runs of words in text
that match any of the licenses. Its algorithm is a heuristic and can be
defeated, but seems to work well in practice.
updateIndex is used during initialization to construct a map from
the occurrences of each phrase in any license to the word offset
in that license, like an n-gram posting list index in full-text search.
func New(licenses []License) *Checker
var builtin *Checker
Coverage describes how the text matches various licenses.
Match describes, in sequential order, the matches of the input text
across the various licenses. Typically it will be only one match long,
but if the input text is a concatenation of licenses it will contain
a match value for each element of the concatenation.
Percent is the fraction of the total text, in normalized words, that
matches any valid license, expressed as a percentage across all of the
licenses matched.
func Cover(input []byte, opts Options) (Coverage, bool)
func (*Checker).Cover(input []byte, opts Options) (Coverage, bool)
A License describes a single license that can be recognized.
At least one of the Text or the URL should be set.
Name string
Text string
URL string
func BuiltinLicenses() []License
func New(licenses []License) *Checker
Match describes how a section of the input matches a license.
// The byte offset of the end of the last word in the input that matches.
IsURL reports that the matched text identifies a license by indirection
through a URL. If set, Start and End specify the location of the URL
itself, and Percent is always 100.0.
// The (file) name of the license it matches.
// The fraction of words between Start and End that are matched.
// The byte offset of the first word in the input that matches.
// The type of the license: BSD, MIT, etc.
overlaps reports whether the two matches represent at least part of the same text.
func makeMatch(l *license, s submatch) Match
func (*Match).overlaps(n *Match) bool
Options allow us to adjust parameters for the matching algorithm.
TODO: Delete this once the package has been fine-tuned.
// Minimum length of run, in words, to count as a matching substring.
// Maximum allowable gap in a near-contiguous match.
// Percentage threshold to report a match.
func Cover(input []byte, opts Options) (Coverage, bool)
func (*Checker).Cover(input []byte, opts Options) (Coverage, bool)
func (*Checker).submatches(text []int32, opts Options) []submatch
var defaults
Type groups the licenses into various classifications.
TODO: This list is clearly incomplete.
( T) String() string
T : expvar.Var
T : fmt.Stringer
T : context.stringer
T : runtime.stringer
func licenseType(name string) Type
const AGPL
const Apache
const BSD
const CC
const GPL
const JSON
const MIT
const NumTypes
const Other
const Unlicense
const Zlib
// ith byteOff is byte offset of ith word in original text.
// Original text.
// Normalized words (indexes into c.words)
endPos is the complement of startPos.
endWordToEndByte returns the end byte offset corresponding
to the given end word offset.
findURLsBetween returns a slice of Matches holding URLs of licenses, to be
inserted into the total list of Matches.
percent returns the total percentage of words in the input matched by matches.
When it is called, matches (except for URLs) are in units of words.
(*T) sort(matches []Match)
startPos returns the starting position of match i for purposes of computing
coverage percentage. For URLs, it's tricky because Start and End refer to the
URL itself, so we presume the match covers the whole gap.
toByteOffsets converts in-place the non-URL Matches' word offsets in the document to byte offsets.
(*T) wordOffset(byteOffset int) int
func (*Checker).normalize(data []byte, updateDict bool) *document
A phrase is a sequence of words used as a key for startIndexes.
Empirically, two words are best; more is slower.
// Index of first following word.
// Index within license of last matching word.
// Index of license in c.licenses
Number of words between start and end that actually match.
Because of slop, this can be less than end-start.
// Index of starting word.
func (*Checker).submatches(text []int32, opts Options) []submatch
func makeMatch(l *license, s submatch) Match
Package-Level Functions (total 9, in which 3 are exported)
BuiltinLicenses returns the list of licenses built into the package.
That is, the built-in checker is equivalent to New(BuiltinLicenses()).
Cover computes the coverage of the text according to the
license set compiled into the package.
An input text may match multiple licenses. If that happens,
Match contains only disjoint matches. If multiple licenses
match a particular section of the input, the best match
is chosen so the returned coverage describes at most
one match for each section of the input.
New returns a new Checker that recognizes the given list of licenses.
isListMarker reports whether s, followed immediately by nextRune, is a potential
list marker such as "i." or "a)".
isWordChar reports whether r is valid in a word. That means it must
be a letter, although that definition may change. The rune has already
been case lowered, although that doesn't matter here.
func licenseType(name string) Type
toLower returns a lowercased version of the input, guaranteeing
that the size remains the same so byte offsets between the slice and
the string created from it, which will be used to locate words, will
line up. TODO: There is a proposal in Go to provide a UTF-8 handler
that would make this nicer. Use it if it arrives.
https://github.com/golang/go/issues/25805
Package-Level Variables (total 8, none are exported)
var _Type_index [11]uint8
Initialized in func init in data.gen.go.
The URL text does not include the leading http:// or https://
or trailing /.
All entries are lower case.
Keep this list sorted for easy checking.
htmlesc unescapes HTML escapes that we've observed,
especially in Markdown-formatted licenses.
The replacements must have the same length as the original strings
to preserve byte offsets.
var listMarker map[string]bool
Package-Level Constants (total 504, in which 11 are exported)
const _Type_name = "AGPLApacheBSDCCGPLJSONMITUnlicenseZlibOther"
The regular expression is a simplified finder of URLS. We assume licenses are
going to have fairly simple URLs, and in practice they do. See urls.go.
Matching is case-insensitive.
const license_0BSD_lre = "//**\nBSD Zero Clause License\nhttps://spdx.org/licenses/0BSD.json\n... const license_AAL_lre = "//**\nAttribution Assurance License\nhttps://spdx.org/licenses/AAL.j... const license_Abstyles_lre = "//**\nAbstyles License\nhttps://spdx.org/licenses/Abstyles.json\nhtt... const license_Adobe_2006_lre = "//**\nAdobe Systems Incorporated Source Code License Agreement\nhttp... const license_Adobe_Glyph_lre = "//**\nAdobe Glyph List License\nhttps://spdx.org/licenses/Adobe-Glyp... const license_ADSL_lre = "//**\nAmazon Digital Services License\nhttps://spdx.org/licenses/ADS... const license_AFL_1_1_lre = "//**\nAcademic Free License v1.1\nhttps://spdx.org/licenses/AFL-1.1.... const license_AFL_1_2_lre = "//**\nAcademic Free License v1.2\nhttps://spdx.org/licenses/AFL-1.2.... const license_AFL_2_0_lre = "//**\nAcademic Free License v2.0\nhttps://spdx.org/licenses/AFL-2.0.... const license_AFL_2_1_lre = "//**\nAcademic Free License v2.1\nhttps://spdx.org/licenses/AFL-2.1.... const license_AFL_3_0_lre = "//**\nAcademic Free License v3.0\nhttps://spdx.org/licenses/AFL-3.0.... const license_Afmparse_lre = "//**\nAfmparse License\nhttps://spdx.org/licenses/Afmparse.json\nhtt... const license_AGPL_1_0_lre = "//**\nAffero General Public License v1.0\nhttp://www.affero.org/oagp... const license_AGPL_3_0 = " GNU AFFERO GENERAL PUBLIC LICENSE\n ... const license_AGPL_3_0_lre = "//**\nGNU Affero General Public License v3.0\nhttps://www.gnu.org/li... const license_AGPL_3_0_Only_lre = "\n\n\n\n\n\n\n\n\t((\n\t\t((This\n\t\tprogram\n\t\t))??\n\t\t//**__5... const license_AGPL_3_0_Short = " GNU AFFERO GENERAL PUBLIC LICENSE\n ... const license_AGPL_Header = " Copyright ___\n\n This program is free software: you can redi... const license_Aladdin_9_lre = "//**\nAladdin Free Public License version 9 (no SPDX identifier)\n**... const license_Aladdin_lre = "//**\nAladdin Free Public License\nhttps://spdx.org/licenses/Aladdin... const license_AMDPLPA_lre = "//**\nAMD's plpa_map.c License\nhttps://spdx.org/licenses/AMDPLPA.js... const license_AML_lre = "//**\nApple MIT License\nhttps://spdx.org/licenses/AML.json\nhttps:/... const license_AMPAS_lre = "//**\nAcademy of Motion Picture Arts and Sciences BSD\nhttps://spdx.... const license_Anti996_lre = "//**\nAnti-996 License.\nhttps://github.com/996icu/996.ICU/blob/mast... const license_ANTLR_PD_lre = "//**\nANTLR Software Rights Notice\nhttps://spdx.org/licenses/ANTLR-... const license_Apache_1_0_lre = "//**\nApache License 1.0\nhttps://spdx.org/licenses/Apache-1.0.json\... const license_Apache_1_1_lre = "//**\nApache License 1.1\nhttps://spdx.org/licenses/Apache-1.1.json\... const license_Apache_2_0 = "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/lic... const license_Apache_2_0_Header = "Copyright ___\n\nLicensed under the Apache License, Version 2.0 (the... const license_Apache_2_0_lre = "//**\nApache License 2.0\nhttps://spdx.org/licenses/Apache-2.0.json\... const license_Apache_2_0_Short = "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/lic... const license_APAFML_lre = "//**\nAdobe Postscript AFM License\nhttps://spdx.org/licenses/APAFML... const license_APL_1_0_lre = "//**\nAdaptive Public License 1.0\nhttps://spdx.org/licenses/APL-1.0... const license_APSL_1_0_lre = "//**\nApple Public Source License 1.0\nhttps://spdx.org/licenses/APS... const license_APSL_1_1_lre = "//**\nApple Public Source License 1.1\nhttps://spdx.org/licenses/APS... const license_APSL_1_2_lre = "//**\nApple Public Source License 1.2\nhttps://spdx.org/licenses/APS... const license_APSL_2_0_lre = "//**\nApple Public Source License 2.0\nhttps://spdx.org/licenses/APS... const license_Artistic_1_0_cl8_lre = "//**\nArtistic License 1.0 w/clause 8\nhttps://spdx.org/licenses/Art... const license_Artistic_1_0_lre = "//**\nArtistic License 1.0\nhttps://spdx.org/licenses/Artistic-1.0.j... const license_Artistic_1_0_Perl_lre = "//**\nArtistic License 1.0 (Perl)\nhttps://spdx.org/licenses/Artisti... const license_Artistic_2_0 = "Everyone is permitted to copy and distribute verbatim copies of this... const license_Artistic_2_0_lre = "//**\nArtistic License 2.0\nhttps://spdx.org/licenses/Artistic-2.0.j... const license_Bahyph_lre = "//**\nBahyph License\nhttps://spdx.org/licenses/Bahyph.json\nhttps:/... const license_Barr_lre = "//**\nBarr License\nhttps://spdx.org/licenses/Barr.json\nhttps://fed... const license_Beerware_lre = "//**\nBeerware License\nhttps://spdx.org/licenses/Beerware.json\nhtt... const license_BitTorrent_1_0_lre = "//**\nBitTorrent Open Source License v1.0\nhttps://spdx.org/licenses... const license_BitTorrent_1_1_lre = "//**\nBitTorrent Open Source License v1.1\nhttps://spdx.org/licenses... const license_blessing_lre = "//**\nSQLite Blessing\nhttps://spdx.org/licenses/blessing.json\nhttp... const license_BlueOak_1_0 = "# Blue Oak Model License\n\nVersion 1.0.0\n\n## Purpose\n\nThis lice... const license_BlueOak_1_0_0_lre = "//**\nBlue Oak Model License 1.0.0\nhttps://spdx.org/licenses/BlueOa... const license_Borceux_lre = "//**\nBorceux license\nhttps://spdx.org/licenses/Borceux.json\nhttps... const license_BSD_0_Clause = "Copyright ___\n\nPermission to use, copy, modify, and/or distribute ... const license_BSD_1_Clause_Clear_lre = "\n//**\nNot known to SPDX - BSD-3-Clause-Clear with only 1 Clause\nE... const license_BSD_1_Clause_lre = "\n//**\nBSD 1-Clause License\nhttps://spdx.org/licenses/BSD-1-Clause... const license_BSD_2_Clause = "Copyright ___\n\nRedistribution and use ___ source and binary forms,... const license_BSD_2_Clause_FreeBSD = "Copyright ___\n\nRedistribution and use ___ source and binary forms,... const license_BSD_2_Clause_lre = "\n//**\nBSD 2-Clause \"Simplified\" License\nhttps://spdx.org/licens... const license_BSD_2_Clause_Patent_lre = "\n//**\nBSD-2-Clause Plus Patent License\nhttps://spdx.org/licenses/... const license_BSD_3_Clause = "Copyright ___\n\nRedistribution and use ___ source and binary forms,... const license_BSD_3_Clause_Attribution_lre = "\n//**\nBSD with attribution\nhttps://spdx.org/licenses/BSD-3-Clause... const license_BSD_3_Clause_Clear = "Copyright ___\n\nRedistribution and use ___ source and binary forms,... const license_BSD_3_Clause_Clear_lre = "\n//**\nBSD 3-Clause Clear License\nhttps://spdx.org/licenses/BSD-3-... const license_BSD_3_Clause_LBNL_lre = "\n//**\nLawrence Berkeley National Labs BSD variant license\nhttps:/... const license_BSD_3_Clause_lre = "\n//**\nBSD 3-Clause \"New\" or \"Revised\" License\nhttps://spdx.or... const license_BSD_3_Clause_No_Nuclear_License_2014_lre = "\n//**\nBSD 3-Clause No Nuclear License 2014\nhttps://spdx.org/licen... const license_BSD_3_Clause_No_Nuclear_License_lre = "\n//**\nBSD 3-Clause No Nuclear License\nhttps://spdx.org/licenses/B... const license_BSD_3_Clause_No_Nuclear_Warranty_lre = "\n//**\nBSD 3-Clause No Nuclear License\nhttps://spdx.org/licenses/B... const license_BSD_3_Clause_NoTrademark_lre = "\n//**\nBSD 3-Clause + no-trademark, like Clear is no-patent.\n**//\... const license_BSD_3_Clause_Open_MPI_lre = "\n//**\nBSD 3-Clause Open MPI variant\nhttps://spdx.org/licenses/BSD... const license_BSD_4_Clause = "Copyright ___\n\nRedistribution and use ___ source and binary forms,... const license_BSD_4_Clause_lre = "\n//**\nBSD 4-Clause \"Original\" or \"Old\" License\nhttps://spdx.o... const license_BSD_Protection_lre = "//**\nBSD Protection License\nhttps://spdx.org/licenses/BSD-Protecti... const license_BSD_Source_Code_lre = "\n//**\nBSD 1-Clause License plus non-advertising clause (usual BSD ... const license_BSL_1_0 = "Boost Software License - Version 1.0 - August 17th, 2003\n\nPermissi... const license_BSL_1_0_lre = "//**\nBoost Software License 1.0\nhttps://spdx.org/licenses/BSL-1.0.... const license_bzip2_1_0_5 = "Copyright ___\n\nThis program, bzip2, the associated library libbzip... const license_bzip2_1_0_5_lre = "//**\nbzip2 and libbzip2 License v1.0.5\nhttps://spdx.org/licenses/b... const license_bzip2_1_0_6 = "Copyright ___\n\nThis program, \"bzip2\", the associated library \"l... const license_bzip2_1_0_6_lre = "//**\nbzip2 and libbzip2 License v1.0.6\nhttps://spdx.org/licenses/b... const license_CAL_1_0_lre = "//**\nCryptographic Autonomy License 1.0\nhttps://spdx.org/licenses/... const license_Caldera_lre = "//**\nCaldera License\nhttps://spdx.org/licenses/Caldera.json\nhttp:... const license_CATOSL_1_1_lre = "//**\nComputer Associates Trusted Open Source License 1.1\nhttps://s... const license_CC0_1_0 = "CC0 1.0 Universal\n\n CREATIVE COMMONS CORPORATION IS NOT A LAW F... const license_CC0_1_0_lre = "//**\nCreative Commons Zero v1.0 Universal\nhttps://spdx.org/license... const license_CC_BY_1_0 = "Creative Commons Attribution 1.0 License\n\nTHE WORK (AS DEFINED BEL... const license_CC_BY_1_0_lre = "//**\nCC-BY-1.0\nhttps://creativecommons.org/licenses/by/1.0\n**//\n... const license_CC_BY_2_0 = "Creative Commons Attribution 2.0 License\n\nTHE WORK (AS DEFINED BEL... const license_CC_BY_2_0_lre = "//**\nCC-BY-2.0\nhttps://creativecommons.org/licenses/by/2.0\n**//\n... const license_CC_BY_2_5 = "Creative Commons Attribution 2.5 License\n\nTHE WORK (AS DEFINED BEL... const license_CC_BY_2_5_lre = "//**\nCC-BY-2.5\nhttps://creativecommons.org/licenses/by/2.5\n**//\n... const license_CC_BY_3_0 = "Creative Commons Attribution 3.0 Unported License\n\nTHE WORK (AS DE... const license_CC_BY_3_0_AT_lre = "//**\nCreative Commons Attribution 3.0 Austria\nhttps://spdx.org/lic... const license_CC_BY_3_0_lre = "//**\nCC-BY-3.0\nhttps://creativecommons.org/licenses/by/3.0\n**//\n... const license_CC_BY_4_0 = "Creative Commons Attribution 4.0 International Public License\n\nBy ... const license_CC_BY_4_0_lre = "//**\nCC-BY-4.0\nhttps://creativecommons.org/licenses/by/4.0\n**//\n... const license_CC_BY_NC_1_0 = "Creative Commons Attribution-NonCommercial 1.0 License\n\nTHE WORK (... const license_CC_BY_NC_1_0_lre = "//**\nCC-BY-NC-1.0\nhttps://creativecommons.org/licenses/by-nc/1.0\n... const license_CC_BY_NC_2_0 = "Creative Commons Attribution-NonCommercial 2.0 License\n\nTHE WORK (... const license_CC_BY_NC_2_0_lre = "//**\nCC-BY-NC-2.0\nhttps://creativecommons.org/licenses/by-nc/2.0\n... const license_CC_BY_NC_2_5 = "Creative Commons Attribution-NonCommercial 2.5 License\n\nTHE WORK (... const license_CC_BY_NC_2_5_lre = "//**\nCC-BY-NC-2.5\nhttps://creativecommons.org/licenses/by-nc/2.5\n... const license_CC_BY_NC_3_0 = "Creative Commons Attribution-NonCommercial 3.0 Unported License\n\nT... const license_CC_BY_NC_3_0_lre = "//**\nCC-BY-NC-3.0\nhttps://creativecommons.org/licenses/by-nc/3.0\n... const license_CC_BY_NC_4_0 = "Creative Commons Attribution-NonCommercial 4.0 International Public ... const license_CC_BY_NC_4_0_lre = "//**\nCC-BY-NC-4.0\nhttps://creativecommons.org/licenses/by-nc/4.0\n... const license_CC_BY_NC_ND_1_0 = "Creative Commons Attribution-NoDerivs-NonCommercial 1.0 License\n\nT... const license_CC_BY_NC_ND_1_0_lre = "//**\nCreative Commons Attribution Non Commercial No Derivatives 1.0... const license_CC_BY_NC_ND_2_0 = "Creative Commons Attribution-NonCommercial-NoDerivs 2.0 License\n\nT... const license_CC_BY_NC_ND_2_0_lre = "//**\nCC-BY-NC-ND-2.0\nhttps://creativecommons.org/licenses/by-nc-nd... const license_CC_BY_NC_ND_2_5 = "Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License\n\nT... const license_CC_BY_NC_ND_2_5_lre = "//**\nCC-BY-NC-ND-2.5\nhttps://creativecommons.org/licenses/by-nc-nd... const license_CC_BY_NC_ND_3_0 = "Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported Lic... const license_CC_BY_NC_ND_3_0_IGO_lre = "//**\nCreative Commons Attribution Non Commercial No Derivatives 3.0... const license_CC_BY_NC_ND_3_0_lre = "//**\nCC-BY-NC-ND-3.0\nhttps://creativecommons.org/licenses/by-nc-nd... const license_CC_BY_NC_ND_4_0 = "Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 Interna... const license_CC_BY_NC_ND_4_0_lre = "//**\nCC-BY-NC-ND-4.0\nhttps://creativecommons.org/licenses/by-nc-nd... const license_CC_BY_NC_SA_1_0 = "Creative Commons Attribution-NonCommercial-ShareAlike 1.0 License\n\... const license_CC_BY_NC_SA_1_0_lre = "//**\nCC-BY-NC-SA-1.0\nhttps://creativecommons.org/licenses/by-nc-sa... const license_CC_BY_NC_SA_2_0 = "Creative Commons Attribution-NonCommercial-ShareAlike 2.0 License\n\... const license_CC_BY_NC_SA_2_0_lre = "//**\nCC-BY-NC-SA-2.0\nhttps://creativecommons.org/licenses/by-nc-sa... const license_CC_BY_NC_SA_2_5 = "Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License\n\... const license_CC_BY_NC_SA_2_5_lre = "//**\nCC-BY-NC-SA-2.5\nhttps://creativecommons.org/licenses/by-nc-sa... const license_CC_BY_NC_SA_3_0 = "Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported L... const license_CC_BY_NC_SA_3_0_lre = "//**\nCC-BY-NC-SA-3.0\nhttps://creativecommons.org/licenses/by-nc-sa... const license_CC_BY_NC_SA_3_0_US_lre = "//**\nCC-BY-NC-SA-3.0-US\nhttps://creativecommons.org/licenses/by-nc... const license_CC_BY_NC_SA_4_0 = "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 Internatio... const license_CC_BY_NC_SA_4_0_lre = "//**\nCC-BY-NC-SA-4.0\nhttps://creativecommons.org/licenses/by-nc-sa... const license_CC_BY_ND_1_0 = "Creative Commons Attribution-NoDerivs 1.0 License\n\nTHE WORK (AS DE... const license_CC_BY_ND_1_0_lre = "//**\nCC-BY-ND-1.0\nhttps://creativecommons.org/licenses/by-nd/1.0\n... const license_CC_BY_ND_2_0 = "Creative Commons Attribution-NoDerivs 2.0 License\n\nTHE WORK (AS DE... const license_CC_BY_ND_2_0_lre = "//**\nCC-BY-ND-2.0\nhttps://creativecommons.org/licenses/by-nd/2.0\n... const license_CC_BY_ND_2_5 = "Creative Commons Attribution-NoDerivs 2.5 License\n\nTHE WORK (AS DE... const license_CC_BY_ND_2_5_lre = "//**\nCC-BY-ND-2.5\nhttps://creativecommons.org/licenses/by-nd/2.5\n... const license_CC_BY_ND_3_0 = "Creative Commons Attribution-NoDerivs 3.0 Unported License\n\nTHE WO... const license_CC_BY_ND_3_0_lre = "//**\nCC-BY-ND-3.0\nhttps://creativecommons.org/licenses/by-nd/3.0\n... const license_CC_BY_ND_4_0 = "Creative Commons Attribution-NoDerivatives 4.0 International Public ... const license_CC_BY_ND_4_0_lre = "//**\nCC-BY-ND-4.0\nhttps://creativecommons.org/licenses/by-nd/4.0\n... const license_CC_BY_SA_1_0 = "Creative Commons Attribution-ShareAlike 1.0 License\n\nTHE WORK (AS ... const license_CC_BY_SA_1_0_lre = "//**\nCC-BY-SA-1.0\nhttps://creativecommons.org/licenses/by-sa/1.0\n... const license_CC_BY_SA_2_0 = "Creative Commons Attribution-ShareAlike 2.0 License\n\nTHE WORK (AS ... const license_CC_BY_SA_2_0_lre = "//**\nCC-BY-SA-2.0\nhttps://creativecommons.org/licenses/by-sa/2.0\n... const license_CC_BY_SA_2_5 = "Creative Commons Attribution-ShareAlike 2.5 License\n\nTHE WORK (AS ... const license_CC_BY_SA_2_5_lre = "//**\nCC-BY-SA-2.5\nhttps://creativecommons.org/licenses/by-sa/2.5\n... const license_CC_BY_SA_3_0 = "Creative Commons Attribution-ShareAlike 3.0 Unported License\n\nTHE ... const license_CC_BY_SA_3_0_AT_lre = "//**\nCreative Commons Attribution-Share Alike 3.0 Austria\nhttps://... const license_CC_BY_SA_3_0_lre = "//**\nCC-BY-SA-3.0\nhttps://creativecommons.org/licenses/by-sa/3.0\n... const license_CC_BY_SA_4_0 = "Creative Commons Attribution-ShareAlike 4.0 International Public Lic... const license_CC_BY_SA_4_0_lre = "//**\nCC-BY-SA-4.0\nhttps://creativecommons.org/licenses/by-sa/4.0\n... const license_CC_Notice = "Creative Commons Notice\n\nCreative Commons is not a party to this L... const license_CC_PDDC = "The person or persons who have associated work with this document (t... const license_CC_PDDC_lre = "//**\nCreative Commons Public Domain Dedication and Certification\nh... const license_CDDL_1_0_lre = "//**\nCommon Development and Distribution License 1.0\nhttps://spdx.... const license_CDDL_1_1_lre = "//**\nCommon Development and Distribution License 1.1\nhttps://spdx.... const license_CDLA_Permissive_1_0_lre = "//**\nCommunity Data License Agreement Permissive 1.0\nhttps://spdx.... const license_CDLA_Sharing_1_0_lre = "//**\nCommunity Data License Agreement Sharing 1.0\nhttps://spdx.org... const license_CECILL_1_0_lre = "//**\nCeCILL Free Software License Agreement v1.0\nhttps://spdx.org/... const license_CECILL_1_1_lre = "//**\nCeCILL Free Software License Agreement v1.1\nhttps://spdx.org/... const license_CECILL_2_0_lre = "//**\nCeCILL Free Software License Agreement v2.0\nhttps://spdx.org/... const license_CECILL_2_1_lre = "//**\nCeCILL Free Software License Agreement v2.1\nhttps://spdx.org/... const license_CECILL_B_lre = "//**\nCeCILL-B Free Software License Agreement\nhttps://spdx.org/lic... const license_CECILL_C_lre = "//**\nCeCILL-C Free Software License Agreement\nhttps://spdx.org/lic... const license_CERN_OHL_1_1_lre = "//**\nCERN Open Hardware Licence v1.1\nhttps://spdx.org/licenses/CER... const license_CERN_OHL_1_2_lre = "//**\nCERN Open Hardware Licence v1.2\nhttps://spdx.org/licenses/CER... const license_CERN_OHL_P_2_0_lre = "//**\nCERN Open Hardware Licence Version 2 - Permissive\nhttps://spd... const license_CERN_OHL_S_2_0_lre = "//**\nCERN Open Hardware Licence Version 2 - Strongly Reciprocal\nht... const license_CERN_OHL_W_2_0_lre = "//**\nCERN Open Hardware Licence Version 2 - Weakly Reciprocal\nhttp... const license_ClArtistic_lre = "//**\nClarified Artistic License\nhttps://spdx.org/licenses/ClArtist... const license_CNRI_Jython_lre = "//**\nCNRI Jython License\nhttps://spdx.org/licenses/CNRI-Jython.jso... const license_CNRI_Python_GPL_Compatible_lre = "//**\nCNRI Python Open Source GPL Compatible License Agreement\nhttp... const license_CNRI_Python_lre = "//**\nCNRI Python License\nhttps://spdx.org/licenses/CNRI-Python.jso... const license_CommonsClause = "The Software is provided to you by the Licensor under the License, a... const license_CommonsClause_lre = "//**\nCommonsClause addendum\n**//\n\nThe Software is provided to yo... const license_Condor_1_1_lre = "//**\nCondor Public License v1.1\nhttps://spdx.org/licenses/Condor-1... const license_copyleft_next_0_3_0_lre = "//**\ncopyleft-next 0.3.0\nhttps://spdx.org/licenses/copyleft-next-0... const license_copyleft_next_0_3_1_lre = "//**\ncopyleft-next 0.3.1\nhttps://spdx.org/licenses/copyleft-next-0... const license_CPAL_1_0_lre = "//**\nCommon Public Attribution License 1.0\nhttps://spdx.org/licens... const license_CPL_1_0_lre = "//**\nCommon Public License 1.0\nhttps://spdx.org/licenses/CPL-1.0.j... const license_CPOL_1_02_lre = "//**\nCode Project Open License 1.02\nhttps://spdx.org/licenses/CPOL... const license_Crossword_lre = "//**\nCrossword License\nhttps://spdx.org/licenses/Crossword.json\nh... const license_CrystalStacker_lre = "//**\nCrystalStacker License\nhttps://spdx.org/licenses/CrystalStack... const license_CUA_OPL_1_0_lre = "//**\nCUA Office Public License v1.0\nhttps://spdx.org/licenses/CUA-... const license_Cube_lre = "//**\nCube License\nhttps://spdx.org/licenses/Cube.json\nhttps://fed... const license_curl_lre = "//**\ncurl License\nhttps://spdx.org/licenses/curl.json\nhttps://git... const license_D_FSL_1_0_lre = "//**\nDeutsche Freie Software Lizenz\nhttps://spdx.org/licenses/D-FS... const license_diffmark_lre = "//**\ndiffmark license\nhttps://spdx.org/licenses/diffmark.json\nhtt... const license_DOC_lre = "//**\nDOC License\nhttps://spdx.org/licenses/DOC.json\nhttp://www.cs... const license_Dotseqn_lre = "//**\nDotseqn License\nhttps://spdx.org/licenses/Dotseqn.json\nhttps... const license_DSDP_lre = "//**\nDSDP License\nhttps://spdx.org/licenses/DSDP.json\nhttps://fed... const license_dvipdfm_lre = "//**\ndvipdfm License\nhttps://spdx.org/licenses/dvipdfm.json\nhttps... const license_ECL_1_0_lre = "//**\nEducational Community License v1.0\nhttps://spdx.org/licenses/... const license_ECL_2_0 = "Educational Community License\nVersion 2.0, April 2007\n\nhttp://www... const license_ECL_2_0_lre = "//**\nEducational Community License v2.0\nhttps://spdx.org/licenses/... const license_EFL_1_0_lre = "//**\nEiffel Forum License v1.0\nhttps://spdx.org/licenses/EFL-1.0.j... const license_EFL_2_0_lre = "//**\nEiffel Forum License v2.0\nhttps://spdx.org/licenses/EFL-2.0.j... const license_eGenix_lre = "//**\neGenix.com Public License 1.1.0\nhttps://spdx.org/licenses/eGe... const license_Entessa_lre = "//**\nEntessa Public License v1.0\nhttps://spdx.org/licenses/Entessa... const license_EPICS_lre = "//**\nEPICS Open License\nhttps://spdx.org/licenses/EPICS.json\nhttp... const license_EPL_1_0 = "Eclipse Public License - v 1.0\nTHE ACCOMPANYING PROGRAM IS PROVIDED... const license_EPL_1_0_lre = "//**\nEclipse Public License 1.0\nhttps://spdx.org/licenses/EPL-1.0.... const license_EPL_2_0 = "Eclipse Public License - v 2.0\nTHE ACCOMPANYING PROGRAM IS PROVIDED... const license_EPL_2_0_lre = "//**\nEclipse Public License 2.0\nhttps://spdx.org/licenses/EPL-2.0.... const license_ErlPL_1_1_lre = "//**\nErlang Public License v1.1\nhttps://spdx.org/licenses/ErlPL-1.... const license_etalab_2_0_lre = "//**\nEtalab Open License 2.0\nhttps://spdx.org/licenses/etalab-2.0.... const license_EUDatagrid_lre = "//**\nEU DataGrid Software License\nhttps://spdx.org/licenses/EUData... const license_EUPL_1_0_lre = "//**\nEuropean Union Public License 1.0\nhttps://spdx.org/licenses/E... const license_EUPL_1_1 = "European Union Public Licence V. 1.1\n\nEUPL (c) the European Commun... const license_EUPL_1_1_lre = "//**\nEuropean Union Public License 1.1\nhttps://spdx.org/licenses/E... const license_EUPL_1_2 = "European Union Public Licence v. 1.2\n\nEUPL © the European Union 20... const license_EUPL_1_2_lre = "//**\nEuropean Union Public License 1.2\nhttps://spdx.org/licenses/E... const license_Eurosym_lre = "//**\nEurosym License\nhttps://spdx.org/licenses/Eurosym.json\nhttps... const license_Fair_lre = "//**\nFair License\nhttps://spdx.org/licenses/Fair.json\nhttp://fair... const license_Frameworx_1_0_lre = "//**\nFrameworx Open License 1.0\nhttps://spdx.org/licenses/Framewor... const license_FreeImage_lre = "//**\nFreeImage Public License v1.0\nhttps://spdx.org/licenses/FreeI... const license_FSFAP_lre = "//**\nFSF All Permissive License\nhttps://spdx.org/licenses/FSFAP.js... const license_FSFUL_lre = "//**\nFSF Unlimited License\nhttps://spdx.org/licenses/FSFUL.json\nh... const license_FSFULLR_lre = "//**\nFSF Unlimited License (with License Retention)\nhttps://spdx.o... const license_FTL_lre = "//**\nFreetype Project License\nhttps://spdx.org/licenses/FTL.json\n... const license_GFDL_1_1_lre = "//**\nGNU Free Documentation License v1.1 or later\nhttps://spdx.org... const license_GFDL_1_1_Only_lre = "\n\n\n\n\n\tPermission is granted to copy, distribute and/or\n\tmodi... const license_GFDL_1_2_lre = "//**\nGNU Free Documentation License v1.2 or later\nhttps://spdx.org... const license_GFDL_1_2_Only_lre = "\n\n\n\n\n\tPermission is granted to copy, distribute and/or\n\tmodi... const license_GFDL_1_3_lre = "//**\nGNU Free Documentation License v1.3 or later\nhttps://spdx.org... const license_GFDL_1_3_Only_lre = "\n\n\n\n\n\tPermission is granted to copy, distribute and/or\n\tmodi... const license_Giftware_lre = "//**\nGiftware License\nhttps://spdx.org/licenses/Giftware.json\nhtt... const license_GL2PS_lre = "//**\nGL2PS License\nhttps://spdx.org/licenses/GL2PS.json\nhttp://ww... const license_Glide_lre = "//**\n3dfx Glide License\nhttps://spdx.org/licenses/Glide.json\nhttp... const license_Glulxe_lre = "//**\nGlulxe License\nhttps://spdx.org/licenses/Glulxe.json\nhttps:/... const license_GLWTPL_lre = "//**\nGood Luck With That Public License\nhttps://spdx.org/licenses/... const license_gnuplot_lre = "//**\ngnuplot License\nhttps://spdx.org/licenses/gnuplot.json\nhttps... const license_GooglePatentClause = "Subject to the terms and conditions of this License, ___ hereby gran... const license_GooglePatentClause_lre = "//**\nPatent grant that appeared briefly in the Go LICENSE file,\nbe... const license_GooglePatentsFile_lre = "//**\nPATENTS file used in WebM, Go, gRPC and other Google open sour... const license_GPL2 = " GNU GENERAL PUBLIC LICENSE\n ... const license_GPL2_Short = " GNU GENERAL PUBLIC LICENSE\n ... const license_GPL3 = "GNU GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright © 2... const license_GPL3_Short = "GNU GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright © 2... const license_GPL_1_0_lre = "//**\nGNU General Public License v1.0\nhttps://www.gnu.org/licenses/... const license_GPL_2_0_lre = "//**\nGNU General Public License v2.0\nhttps://www.gnu.org/licenses/... const license_GPL_2_0_Only_lre = "\n\n\n\n\n\n\n\n\t((\n\t\t((This\n\t\tprogram\n\t\t))??\n\t\t//**__5... const license_GPL_2_0_Or_3_0_lre = "\n//** Used by MongoDB, WiredTiger, KeePassX, KeePassXC, maybe other... const license_GPL_3_0_lre = "//**\nGNU General Public License v3.0\nhttps://www.gnu.org/licenses/... const license_GPL_3_0_Only_lre = "\n\n\n\n\n\n\n\n\t((\n\t\t((This\n\t\tprogram\n\t\t))??\n\t\t//**__5... const license_GPL_Header = " Copyright ___\n\n This program is free software; you can redi... const license_GPL_NotLater_Header = " Copyright ___\n\n This program is free software; you can redi... const license_gSOAP_1_3b_lre = "//**\ngSOAP Public License v1.3b\nhttps://spdx.org/licenses/gSOAP-1.... const license_HaskellReport_lre = "//**\nHaskell Language Report License\nhttps://spdx.org/licenses/Has... const license_Hippocratic_2_1_lre = "//**\nHippocratic License 2.1\nhttps://spdx.org/licenses/Hippocratic... const license_HPND_lre = "\n\n\n\t//**\n\tHistorical Permission Notice and Disclaimer\n\thttps... const license_HPND_sell_variant_lre = "\n\n\t//**\n\tHistorical Permission Notice and Disclaimer\n\thttps:/... const license_IBM_pibs_lre = "//**\nIBM PowerPC Initialization and Boot Software\nhttps://spdx.org... const license_ICU_lre = "//**\nICU License\nhttps://spdx.org/licenses/ICU.json\nhttp://source... const license_IJG_lre = "//**\nIndependent JPEG Group License\nhttps://spdx.org/licenses/IJG.... const license_ImageMagick_lre = "//**\nImageMagick License\nhttps://spdx.org/licenses/ImageMagick.jso... const license_iMatix_lre = "//**\niMatix Standard Function Library Agreement\nhttps://spdx.org/l... const license_Imlib2_lre = "//**\nImlib2 License\nhttps://spdx.org/licenses/Imlib2.json\nhttp://... const license_Info_ZIP_lre = "//**\nInfo-ZIP License\nhttps://spdx.org/licenses/Info-ZIP.json\nhtt... const license_Intel_ACPI_lre = "//**\nIntel ACPI Software License Agreement\nhttps://spdx.org/licens... const license_Intel_lre = "//**\nIntel Open Source License\nhttps://spdx.org/licenses/Intel.jso... const license_Interbase_1_0_lre = "//**\nInterbase Public License v1.0\nhttps://spdx.org/licenses/Inter... const license_IPA_lre = "//**\nIPA Font License\nhttps://spdx.org/licenses/IPA.json\nhttps://... const license_IPL_1_0_lre = "//**\nIBM Public License v1.0\nhttps://spdx.org/licenses/IPL-1.0.jso... const license_ISC = "Copyright ___\n\nPermission to use, copy, modify, ___ distribute thi... const license_ISC_lre = "//**\nISC License\nhttps://spdx.org/licenses/ISC.json\nhttps://www.i... const license_JasPer_2_0_lre = "//**\nJasPer License\nhttps://spdx.org/licenses/JasPer-2.0.json\nhtt... const license_JPNIC_lre = "//**\nJapan Network Information Center License\nhttps://spdx.org/lic... const license_JSON = "Copyright ___\n\nPermission is hereby granted, free of charge, to an... const license_JSON_lre = "\n((JSON license))??\n\n\nPermission is hereby granted,\n((free of c... const license_LAL_1_2_lre = "//**\nLicence Art Libre 1.2\nhttps://spdx.org/licenses/LAL-1.2.json\... const license_LAL_1_3_lre = "//**\nLicence Art Libre 1.3\nhttps://spdx.org/licenses/LAL-1.3.json\... const license_Latex2e_lre = "//**\nLatex2e License\nhttps://spdx.org/licenses/Latex2e.json\nhttps... const license_Leptonica_lre = "//**\nLeptonica License\nhttps://spdx.org/licenses/Leptonica.json\nh... const license_LGPL_2_0 = " GNU LIBRARY GENERAL PUBLIC LICENSE\n ... const license_LGPL_2_0_lre = "//**\nGNU Library General Public License v2\nhttps://www.gnu.org/lic... const license_LGPL_2_0_Only_lre = "\n\n\n\n\n\n\n\n\t((\n\t\t((This\n\t\tlibrary\n\t\t))??\n\t\t//**__5... const license_LGPL_2_0_Short = " GNU LIBRARY GENERAL PUBLIC LICENSE\n ... const license_LGPL_2_1 = " GNU LESSER GENERAL PUBLIC LICENSE\n ... const license_LGPL_2_1_lre = "//**\nGNU Lesser General Public License v2.1\nhttps://www.gnu.org/li... const license_LGPL_2_1_Only_lre = "\n\n\n\n\n\n\n\n\t((\n\t\t((This\n\t\tlibrary\n\t\t))??\n\t\t//**__5... const license_LGPL_2_1_Short = " GNU LESSER GENERAL PUBLIC LICENSE\n ... const license_LGPL_3_0 = " GNU LESSER GENERAL PUBLIC LICENSE\n ... const license_LGPL_3_0_lre = "//**\nGNU Lesser General Public License v3.0\nhttps://www.gnu.org/li... const license_LGPL_3_0_Only_lre = "\n\n\n\n\n\n\n\n\t((\n\t\t((This\n\t\tlibrary\n\t\t))??\n\t\t//**__5... const license_LGPL_Header = " Copyright ___\n\n This library is free software; you can redi... const license_LGPL_Library_Header = " Copyright ___\n\n This library is free software; you can redi... const license_LGPLLR_lre = "//**\nLesser General Public License For Linguistic Resources\nhttps:... const license_libpng_2_0_lre = "//**\nPNG Reference Library version 2\nhttps://spdx.org/licenses/lib... const license_Libpng_lre = "//**\nlibpng License\nhttps://spdx.org/licenses/Libpng.json\nhttp://... const license_libselinux_1_0_lre = "//**\nlibselinux public domain notice\nhttps://spdx.org/licenses/lib... const license_libtiff_lre = "//**\nlibtiff License\nhttps://spdx.org/licenses/libtiff.json\nhttps... const license_LiLiQ_P_1_1_lre = "//**\nLicence Libre du Québec – Permissive version 1.1\nhttps://spdx... const license_LiLiQ_R_1_1_lre = "//**\nLicence Libre du Québec – Réciprocité version 1.1\nhttps://spd... const license_LiLiQ_Rplus_1_1_lre = "//**\nLicence Libre du Québec – Réciprocité forte version 1.1\nhttps... const license_Linux_OpenIB_lre = "//**\nLinux Kernel Variant of OpenIB.org license\nhttps://spdx.org/l... const license_LPL_1_02_lre = "//**\nLucent Public License v1.02\nhttps://spdx.org/licenses/LPL-1.0... const license_LPL_1_0_lre = "//**\nLucent Public License Version 1.0\nhttps://spdx.org/licenses/L... const license_LPPL_1_0_lre = "//**\nLaTeX Project Public License v1.0\nhttps://spdx.org/licenses/L... const license_LPPL_1_1_lre = "//**\nLaTeX Project Public License v1.1\nhttps://spdx.org/licenses/L... const license_LPPL_1_2_lre = "//**\nLaTeX Project Public License v1.2\nhttps://spdx.org/licenses/L... const license_LPPL_1_3a_lre = "//**\nLaTeX Project Public License v1.3a\nhttps://spdx.org/licenses/... const license_LPPL_1_3c_lre = "//**\nLaTeX Project Public License v1.3c\nhttps://spdx.org/licenses/... const license_MakeIndex_lre = "//**\nMakeIndex License\nhttps://spdx.org/licenses/MakeIndex.json\nh... const license_MirOS_lre = "//**\nThe MirOS Licence\nhttps://spdx.org/licenses/MirOS.json\nhttps... const license_MIT = "Copyright ___\n\nPermission is hereby granted, free of charge, to an... const license_MIT_0 = "Copyright ___\n\nPermission is hereby granted, free of charge, to an... const license_MIT_0_lre = "\n//**\nMIT No Attribution\nhttps://spdx.org/licenses/MIT-0.json\nht... const license_MIT_advertising_lre = "//**\nEnlightenment License (e16)\nhttps://spdx.org/licenses/MIT-adv... const license_MIT_CMU_lre = "//**\nCMU License\nhttps://spdx.org/licenses/MIT-CMU.json\nhttps://f... const license_MIT_enna_lre = "//**\nenna License\nhttps://spdx.org/licenses/MIT-enna.json\nhttps:/... const license_MIT_feh_lre = "//**\nfeh License\nhttps://spdx.org/licenses/MIT-feh.json\nhttps://f... const license_MIT_Header = "Copyright ___\n\nLicensed under the MIT License (the \"License\"); y... const license_MIT_lre = "\n\n\n\n\n\n\n\n\n//**\nMIT License\nhttps://spdx.org/licenses/MIT.j... const license_MIT_NoAd_lre = "\n\n\nPermission is hereby granted,\n((free of charge))??\nto any pe... const license_MITNFA_lre = "\n//**\nMIT +no-false-attribs license\nhttps://spdx.org/licenses/MIT... const license_Motosoto_lre = "//**\nMotosoto License\nhttps://spdx.org/licenses/Motosoto.json\nhtt... const license_mpich2_lre = "//**\nmpich2 License\nhttps://spdx.org/licenses/mpich2.json\nhttps:/... const license_MPL_1_0_lre = "//**\nMozilla Public License 1.0\nhttps://spdx.org/licenses/MPL-1.0.... const license_MPL_1_1_lre = "//**\nMozilla Public License 1.1\nhttps://spdx.org/licenses/MPL-1.1.... const license_MPL_2_0 = "Mozilla Public License, version 2.0\n\n1. Definitions\n\n1.1. “Contr... const license_MPL_2_0_Header = " // This Source Code Form is subject to the terms of the Mozilla Pu... const license_MPL_2_0_lre = "//**\nMozilla Public License 2.0\nhttps://spdx.org/licenses/MPL-2.0.... const license_MS_PL_lre = "//**\nMicrosoft Public License\nhttps://spdx.org/licenses/MS-PL.json... const license_MS_RL_lre = "//**\nMicrosoft Reciprocal License\nhttps://spdx.org/licenses/MS-RL.... const license_MTLL_lre = "//**\nMatrix Template Library License\nhttps://spdx.org/licenses/MTL... const license_MulanPSL_1_0_lre = "//**\nMulan Permissive Software License, Version 1\nhttps://spdx.org... const license_MulanPSL_2_0_lre = "//**\nMulan Permissive Software License, Version 2\nhttps://spdx.org... const license_Multics_lre = "//**\nMultics License\nhttps://spdx.org/licenses/Multics.json\nhttps... const license_Mup_lre = "//**\nMup License\nhttps://spdx.org/licenses/Mup.json\nhttps://fedor... const license_NASA_1_3_lre = "//**\nNASA Open Source Agreement 1.3\nhttps://spdx.org/licenses/NASA... const license_Naumen_lre = "//**\nNaumen Public License\nhttps://spdx.org/licenses/Naumen.json\n... const license_NBPL_1_0_lre = "//**\nNet Boolean Public License v1\nhttps://spdx.org/licenses/NBPL-... const license_NCGL_UK_2_0_lre = "//**\nNon-Commercial Government Licence\nhttps://spdx.org/licenses/N... const license_NCSA = "University of Illinois/NCSA Open Source License\n\nCopyright ___\n\n... const license_NCSA_lre = "//**\nUniversity of Illinois/NCSA Open Source License\nhttps://spdx.... const license_Net_SNMP_lre = "//**\nNet-SNMP License\nhttps://spdx.org/licenses/Net-SNMP.json\nhtt... const license_NetCDF_lre = "//**\nNetCDF license\nhttps://spdx.org/licenses/NetCDF.json\nhttp://... const license_Newsletr_lre = "//**\nNewsletr License\nhttps://spdx.org/licenses/Newsletr.json\nhtt... const license_NGPL_lre = "//**\nNethack General Public License\nhttps://spdx.org/licenses/NGPL... const license_NIST = "This software was developed by employees of the National Institute o... const license_NIST_lre = "This software was developed by employees of the National Institute o... const license_NIST_PD_fallback_lre = "//**\nNIST Public Domain Notice with license fallback\nhttps://spdx.... const license_NIST_PD_lre = "//**\nNIST Public Domain Notice\nhttps://spdx.org/licenses/NIST-PD.j... const license_NLOD_1_0_lre = "//**\nNorwegian Licence for Open Government Data\nhttps://spdx.org/l... const license_NLPL_lre = "//**\nNo Limit Public License\nhttps://spdx.org/licenses/NLPL.json\n... const license_Nokia_lre = "//**\nNokia Open Source License\nhttps://spdx.org/licenses/Nokia.jso... const license_NOSL_lre = "//**\nNetizen Open Source License\nhttps://spdx.org/licenses/NOSL.js... const license_Noweb_lre = "//**\nNoweb License\nhttps://spdx.org/licenses/Noweb.json\nhttps://f... const license_NPL_1_0_lre = "//**\nNetscape Public License v1.0\nhttps://spdx.org/licenses/NPL-1.... const license_NPL_1_1_lre = "//**\nNetscape Public License v1.1\nhttps://spdx.org/licenses/NPL-1.... const license_NPOSL_3_0_lre = "//**\nNon-Profit Open Software License 3.0\nhttps://spdx.org/license... const license_NRL_lre = "//**\nNRL License\nhttps://spdx.org/licenses/NRL.json\nhttp://web.mi... const license_NTP_0_lre = "//**\nNTP No Attribution\nhttps://spdx.org/licenses/NTP-0.json\nhttp... const license_NTP_lre = "//**\nNTP License\nhttps://spdx.org/licenses/NTP.json\nhttps://opens... const license_O_UDA_1_0_lre = "//**\nOpen Use of Data Agreement v1.0\nhttps://spdx.org/licenses/O-U... const license_OCCT_PL_lre = "//**\nOpen CASCADE Technology Public License\nhttps://spdx.org/licen... const license_OCLC_2_0_lre = "//**\nOCLC Research Public License 2.0\nhttps://spdx.org/licenses/OC... const license_ODbL_1_0_lre = "//**\nODC Open Database License v1.0\nhttps://spdx.org/licenses/ODbL... const license_ODC_By_1_0_lre = "//**\nOpen Data Commons Attribution License v1.0\nhttps://spdx.org/l... const license_OFL_1_0_lre = "//**\nSIL Open Font License 1.0\nhttps://spdx.org/licenses/OFL-1.0.j... const license_OFL_1_1_lre = "//**\nSIL Open Font License 1.1\nhttps://spdx.org/licenses/OFL-1.1.j... const license_OGC_1_0_lre = "//**\nOGC Software License, Version 1.0\nhttps://spdx.org/licenses/O... const license_OGL_Canada_2_0_lre = "//**\nOpen Government Licence - Canada\nhttps://spdx.org/licenses/OG... const license_OGL_UK_1_0_lre = "//**\nOpen Government Licence v1.0\nhttps://spdx.org/licenses/OGL-UK... const license_OGL_UK_2_0_lre = "//**\nOpen Government Licence v2.0\nhttps://spdx.org/licenses/OGL-UK... const license_OGL_UK_3_0_lre = "//**\nOpen Government Licence v3.0\nhttps://spdx.org/licenses/OGL-UK... const license_OGTSL_lre = "//**\nOpen Group Test Suite License\nhttps://spdx.org/licenses/OGTSL... const license_OLDAP_1_1_lre = "//**\nOpen LDAP Public License v1.1\nhttps://spdx.org/licenses/OLDAP... const license_OLDAP_1_2_lre = "//**\nOpen LDAP Public License v1.2\nhttps://spdx.org/licenses/OLDAP... const license_OLDAP_1_3_lre = "//**\nOpen LDAP Public License v1.3\nhttps://spdx.org/licenses/OLDAP... const license_OLDAP_1_4_lre = "//**\nOpen LDAP Public License v1.4\nhttps://spdx.org/licenses/OLDAP... const license_OLDAP_2_0_1_lre = "//**\nOpen LDAP Public License v2.0.1\nhttps://spdx.org/licenses/OLD... const license_OLDAP_2_0_lre = "//**\nOpen LDAP Public License v2.0 (or possibly 2.0A and 2.0B)\nhtt... const license_OLDAP_2_1_lre = "//**\nOpen LDAP Public License v2.1\nhttps://spdx.org/licenses/OLDAP... const license_OLDAP_2_2_1_lre = "//**\nOpen LDAP Public License v2.2.1\nhttps://spdx.org/licenses/OLD... const license_OLDAP_2_2_2_lre = "//**\nOpen LDAP Public License 2.2.2\nhttps://spdx.org/licenses/OLDA... const license_OLDAP_2_2_lre = "//**\nOpen LDAP Public License v2.2\nhttps://spdx.org/licenses/OLDAP... const license_OLDAP_2_3_lre = "//**\nOpen LDAP Public License v2.3\nhttps://spdx.org/licenses/OLDAP... const license_OLDAP_2_4_lre = "//**\nOpen LDAP Public License v2.4\nhttps://spdx.org/licenses/OLDAP... const license_OLDAP_2_5_lre = "//**\nOpen LDAP Public License v2.5\nhttps://spdx.org/licenses/OLDAP... const license_OLDAP_2_6_lre = "//**\nOpen LDAP Public License v2.6\nhttps://spdx.org/licenses/OLDAP... const license_OLDAP_2_7_lre = "//**\nOpen LDAP Public License v2.7\nhttps://spdx.org/licenses/OLDAP... const license_OLDAP_2_8_lre = "//**\nOpen LDAP Public License v2.8\nhttps://spdx.org/licenses/OLDAP... const license_OML_lre = "//**\nOpen Market License\nhttps://spdx.org/licenses/OML.json\nhttps... const license_OpenSSL = "OpenSSL License\n\nCopyright ___ The OpenSSL Project. All rights res... const license_OpenSSL_lre = "//**\nOpenSSL License\nhttps://spdx.org/licenses/OpenSSL.json\nhttp:... const license_OPL_1_0_lre = "//**\nOpen Public License v1.0\nhttps://spdx.org/licenses/OPL-1.0.js... const license_OSET_PL_2_1_lre = "//**\nOSET Public License version 2.1\nhttps://spdx.org/licenses/OSE... const license_OSL_1_0_lre = "//**\nOpen Software License 1.0\nhttps://spdx.org/licenses/OSL-1.0.j... const license_OSL_1_1_lre = "//**\nOpen Software License 1.1\nhttps://spdx.org/licenses/OSL-1.1.j... const license_OSL_2_0_lre = "//**\nOpen Software License 2.0\nhttps://spdx.org/licenses/OSL-2.0.j... const license_OSL_2_1_lre = "//**\nOpen Software License 2.1\nhttps://spdx.org/licenses/OSL-2.1.j... const license_OSL_3_0 = "This Open Software License (the \"License\") applies to any original... const license_OSL_3_0_lre = "//**\nOpen Software License 3.0\nhttps://spdx.org/licenses/OSL-3.0.j... const license_Parity_6_0_0_lre = "//**\nThe Parity Public License 6.0.0\nhttps://spdx.org/licenses/Par... const license_Parity_7_0_0_lre = "//**\nThe Parity Public License 7.0.0\nhttps://spdx.org/licenses/Par... const license_PDDL_1_0_lre = "//**\nODC Public Domain Dedication & License 1.0\nhttps://spdx.org/l... const license_PHP_3_01_lre = "//**\nPHP License v3.01\nhttps://spdx.org/licenses/PHP-3.01.json\nht... const license_PHP_3_0_lre = "//**\nPHP License v3.0\nhttps://spdx.org/licenses/PHP-3.0.json\nhttp... const license_Plexus_lre = "//**\nPlexus Classworlds License\nhttps://spdx.org/licenses/Plexus.j... const license_PolyForm_Noncommercial_1_0_0_lre = "//**\nPolyForm Noncommercial License 1.0.0\nhttps://spdx.org/license... const license_PolyForm_Small_Business_1_0_0_lre = "//**\nPolyForm Small Business License 1.0.0\nhttps://spdx.org/licens... const license_PostgreSQL_lre = "//**\nPostgreSQL License\nhttps://spdx.org/licenses/PostgreSQL.json\... const license_Prosperity_3_0_0_lre = "//**\nThe Prosperity Public License 3.0.0\nhttps://prosperitylicense... const license_PSF_2_0_lre = "//**\nPython Software Foundation License 2.0\nhttps://spdx.org/licen... const license_psfrag_lre = "//**\npsfrag License\nhttps://spdx.org/licenses/psfrag.json\nhttps:/... const license_psutils_lre = "//**\npsutils License\nhttps://spdx.org/licenses/psutils.json\nhttps... const license_Python_2_0_lre = "//**\nPython License 2.0\nhttps://spdx.org/licenses/Python-2.0.json\... const license_Qhull_lre = "//**\nQhull License\nhttps://spdx.org/licenses/Qhull.json\nhttps://f... const license_QPL_1_0_lre = "//**\nQ Public License 1.0\nhttps://spdx.org/licenses/QPL-1.0.json\n... const license_Rdisc_lre = "//**\nRdisc License\nhttps://spdx.org/licenses/Rdisc.json\nhttps://f... const license_RHeCos_1_1_lre = "//**\nRed Hat eCos Public License v1.1\nhttps://spdx.org/licenses/RH... const license_RPL_1_1_lre = "//**\nReciprocal Public License 1.1\nhttps://spdx.org/licenses/RPL-1... const license_RPL_1_5_lre = "//**\nReciprocal Public License 1.5\nhttps://spdx.org/licenses/RPL-1... const license_RPSL_1_0_lre = "//**\nRealNetworks Public Source License v1.0\nhttps://spdx.org/lice... const license_RSA_MD_lre = "//**\nRSA Message-Digest License\nhttps://spdx.org/licenses/RSA-MD.j... const license_RSCPL_lre = "//**\nRicoh Source Code Public License\nhttps://spdx.org/licenses/RS... const license_Ruby_lre = "//**\nRuby License\nhttps://spdx.org/licenses/Ruby.json\nhttp://www.... const license_SAX_PD_lre = "//**\nSax Public Domain Notice\nhttps://spdx.org/licenses/SAX-PD.jso... const license_Saxpath_lre = "//**\nSaxpath License\nhttps://spdx.org/licenses/Saxpath.json\nhttps... const license_SCEA_lre = "//**\nSCEA Shared Source License\nhttps://spdx.org/licenses/SCEA.jso... const license_Sendmail_8_23_lre = "//**\nSendmail License 8.23\nhttps://spdx.org/licenses/Sendmail-8.23... const license_Sendmail_lre = "//**\nSendmail License\nhttps://spdx.org/licenses/Sendmail.json\nhtt... const license_SGI_B_1_0_lre = "//**\nSGI Free Software License B v1.0\nhttps://spdx.org/licenses/SG... const license_SGI_B_1_1_lre = "//**\nSGI Free Software License B v1.1\nhttps://spdx.org/licenses/SG... const license_SGI_B_2_0_lre = "//**\nSGI Free Software License B v2.0\nhttps://spdx.org/licenses/SG... const license_SHL_0_51_lre = "//**\nSolderpad Hardware License, Version 0.51\nhttps://spdx.org/lic... const license_SHL_0_5_lre = "//**\nSolderpad Hardware License v0.5\nhttps://spdx.org/licenses/SHL... const license_SimPL_2_0_lre = "//**\nSimple Public License 2.0\nhttps://spdx.org/licenses/SimPL-2.0... const license_SISSL_1_2_lre = "//**\nSun Industry Standards Source License v1.2\nhttps://spdx.org/l... const license_SISSL_lre = "//**\nSun Industry Standards Source License v1.1\nhttps://spdx.org/l... const license_Sleepycat_lre = "//**\nSleepycat License\nhttps://spdx.org/licenses/Sleepycat.json\nh... const license_SMLNJ_lre = "//**\nStandard ML of New Jersey License\nhttps://spdx.org/licenses/S... const license_SMPPL_lre = "//**\nSecure Messaging Protocol Public License\nhttps://spdx.org/lic... const license_SNIA_lre = "//**\nSNIA Public License 1.1\nhttps://spdx.org/licenses/SNIA.json\n... const license_Spencer_86_lre = "//**\nSpencer License 86\nhttps://spdx.org/licenses/Spencer-86.json\... const license_Spencer_94_lre = "//**\nSpencer License 94\nhttps://spdx.org/licenses/Spencer-94.json\... const license_Spencer_99_lre = "//**\nSpencer License 99\nhttps://spdx.org/licenses/Spencer-99.json\... const license_SPL_1_0_lre = "//**\nSun Public License v1.0\nhttps://spdx.org/licenses/SPL-1.0.jso... const license_SSH_OpenSSH_lre = "//**\nSSH OpenSSH license\nhttps://spdx.org/licenses/SSH-OpenSSH.jso... const license_SSH_short_lre = "//**\nSSH short notice\nhttps://spdx.org/licenses/SSH-short.json\nht... const license_SSPL_1_0_lre = "//**\nServer Side Public License, v 1\nhttps://spdx.org/licenses/SSP... const license_SugarCRM_1_1_3_lre = "//**\nSugarCRM Public License v1.1.3\nhttps://spdx.org/licenses/Suga... const license_SWL_lre = "//**\nScheme Widget Library (SWL) Software License Agreement\nhttps:... const license_TAPR_OHL_1_0_lre = "//**\nTAPR Open Hardware License v1.0\nhttps://spdx.org/licenses/TAP... const license_TCL_lre = "//**\nTCL/TK License\nhttps://spdx.org/licenses/TCL.json\nhttp://www... const license_TCP_wrappers_lre = "//**\nTCP Wrappers License\nhttps://spdx.org/licenses/TCP-wrappers.j... const license_TMate_lre = "//**\nTMate Open Source License\nhttps://spdx.org/licenses/TMate.jso... const license_TORQUE_1_1_lre = "//**\nTORQUE v2.5+ Software License v1.1\nhttps://spdx.org/licenses/... const license_TOSL_lre = "//**\nTrusster Open Source License\nhttps://spdx.org/licenses/TOSL.j... const license_TU_Berlin_1_0_lre = "//**\nTechnische Universitaet Berlin License 1.0\nhttps://spdx.org/l... const license_TU_Berlin_2_0_lre = "//**\nTechnische Universitaet Berlin License 2.0\nhttps://spdx.org/l... const license_UCL_1_0_lre = "//**\nUpstream Compatibility License v1.0\nhttps://spdx.org/licenses... const license_Unicode_DFS_2015_lre = "//**\nUnicode License Agreement - Data Files and Software (2015)\nht... const license_Unicode_DFS_2016_lre = "//**\nUnicode License Agreement - Data Files and Software (2016)\nht... const license_Unicode_TOU_lre = "//**\nUnicode Terms of Use\nhttps://spdx.org/licenses/Unicode-TOU.js... const license_Unlicense = "This is free and unencumbered software released into the public doma... const license_Unlicense_lre = "//**\nThe Unlicense\nhttps://spdx.org/licenses/Unlicense.json\nhttps... const license_UPL_1_0_lre = "//**\nUniversal Permissive License v1.0\nhttps://spdx.org/licenses/U... const license_Vim_lre = "//**\nVim License\nhttps://spdx.org/licenses/Vim.json\nhttp://vimdoc... const license_VOSTROM_lre = "//**\nVOSTROM Public License for Open Source\nhttps://spdx.org/licen... const license_VSL_1_0_lre = "//**\nVovida Software License v1.0\nhttps://spdx.org/licenses/VSL-1.... const license_W3C_19980720_lre = "//**\nW3C Software Notice and License (1998-07-20)\nhttps://spdx.org... const license_W3C_20150513_lre = "//**\nW3C Software Notice and Document License (2015-05-13)\nhttps:/... const license_W3C_lre = "//**\nW3C Software Notice and License (2002-12-31)\nhttps://spdx.org... const license_Watcom_1_0_lre = "//**\nSybase Open Watcom Public License 1.0\nhttps://spdx.org/licens... const license_Wsuipa_lre = "//**\nWsuipa License\nhttps://spdx.org/licenses/Wsuipa.json\nhttps:/... const license_WTFPL = " DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE\n ... const license_WTFPL_lre = "//**\nDo What The F*ck You Want To Public License\nhttps://spdx.org/... const license_X11_lre = "//**\nX11 License\nhttps://spdx.org/licenses/X11.json\nhttp://www.xf... const license_x_html = "Permission to use, copy, modify, and distribute this softw...
const license_Xerox_lre = "//**\nXerox License\nhttps://spdx.org/licenses/Xerox.json\nhttps://f... const license_XFree86_1_1_lre = "//**\nXFree86 License 1.1\nhttps://spdx.org/licenses/XFree86-1.1.jso... const license_xinetd_lre = "//**\nxinetd License\nhttps://spdx.org/licenses/xinetd.json\nhttps:/... const license_Xnet_lre = "//**\nX.Net License\nhttps://spdx.org/licenses/Xnet.json\nhttps://op... const license_xpp_lre = "//**\nXPP License\nhttps://spdx.org/licenses/xpp.json\nhttps://fedor... const license_XSkat_lre = "//**\nXSkat License\nhttps://spdx.org/licenses/XSkat.json\nhttps://f... const license_YPL_1_0_lre = "//**\nYahoo! Public License v1.0\nhttps://spdx.org/licenses/YPL-1.0.... const license_YPL_1_1_lre = "//**\nYahoo! Public License v1.1\nhttps://spdx.org/licenses/YPL-1.1.... const license_Zed_lre = "//**\nZed License\nhttps://spdx.org/licenses/Zed.json\nhttps://fedor... const license_Zend_2_0_lre = "//**\nZend License v2.0\nhttps://spdx.org/licenses/Zend-2.0.json\nht... const license_Zimbra_1_3_lre = "//**\nZimbra Public License v1.3\nhttps://spdx.org/licenses/Zimbra-1... const license_Zimbra_1_4_lre = "//**\nZimbra Public License v1.4\nhttps://spdx.org/licenses/Zimbra-1... const license_Zlib = "Copyright ___\n\nThis software is provided 'as-is', without any expr... const license_zlib_acknowledgement_lre = "//**\nzlib/libpng License with Acknowledgement\nhttps://spdx.org/lic... const license_Zlib_lre = "//**\nzlib License\nhttps://spdx.org/licenses/Zlib.json\nhttp://www.... const license_ZPL_1_1_lre = "//**\nZope Public License 1.1\nhttps://spdx.org/licenses/ZPL-1.1.jso... const license_ZPL_2_0_lre = "//**\nZope Public License 2.0\nhttps://spdx.org/licenses/ZPL-2.0.jso... const license_ZPL_2_1_lre = "//**\nZope Public License 2.1\nhttps://spdx.org/licenses/ZPL-2.1.jso...
The regular expression is a simplified finder of URLS. We assume licenses are
going to have fairly simple URLs, and in practice they do. See urls.go.
Matching is case-insensitive.
const unknownWordID = -2
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |