Lines Matching refs:RegExp
9 final RegExp stripDecorations = RegExp(
15 final RegExp newlinePattern = RegExp(r'\r\n?');
17 final RegExp beginLicenseBlock = RegExp(
22 final RegExp endLicenseBlock = RegExp(
27 final RegExp nonSpace = RegExp('[^ ]');
28 final RegExp trailingComma = RegExp(r',[ */]*$');
29 final RegExp trailingColon = RegExp(r':(?: |\*|/|\n|=|-)*$');
30 final RegExp copyrightMentionPattern = RegExp(r'©| \(c\) (?!{)|copy\s*right\b|copy\s*left', caseSen…
31 final RegExp licenseMentionPattern = RegExp(r'license|warrant[iy]', caseSensitive: false);
32 final RegExp copyrightMentionOkPattern = RegExp(
50 final RegExp halfCopyrightPattern = RegExp(r'^(?:Copyright(?: \(c\))? [-0-9, ]+(?: by)?|Written [0-…
51 final RegExp authorPattern = RegExp(r'Copyright .+(The .+ Authors)\. +All rights reserved\.', caseS…
54 final List<RegExp> copyrightStatementLeadingPatterns = <RegExp>[
55 RegExp(r'^ *(?:Portions(?: are)? )?Copyright .+$', caseSensitive: false),
56 RegExp(r'^.*All rights? reserved\.$', caseSensitive: false),
57 RegExp(r'^ *\(C\) .+$', caseSensitive: false),
58 RegExp(r'^:copyright: .+$', caseSensitive: false),
59 RegExp(r'[-_a-zA-Z0-9()]+ function provided freely by .+'),
60 RegExp(r'^.+ optimized code \(C\) COPYRIGHT .+$', caseSensitive: false),
61 RegExp(r'©'),
64 RegExp(r"^This file (?:is|was) part of the Independent JPEG Group's software[:.]$"),
65 RegExp(r'^It was modified by The libjpeg-turbo Project to include only code$'),
66 RegExp(r'^relevant to libjpeg-turbo\.$'),
67 RegExp(r'^It was modified by The libjpeg-turbo Project to include only code relevant$'),
68 RegExp(r'^to libjpeg-turbo\.$'),
69 RegExp(r'^It was modified by The libjpeg-turbo Project to include only code and$'),
70 RegExp(r'^information relevant to libjpeg-turbo\.$'),
74 final List<RegExp> copyrightStatementPatterns = <RegExp>[
75 …RegExp(r'^ *(?:Portions(?: created by the Initial Developer)?(?: are)? )?Copyright .+$', caseSensi…
76 RegExp(r'^\(Version [-0-9.:, ]+ Copyright .+\)$', caseSensitive: false),
77 RegExp(r'^.*(?:All )?rights? reserved\.$', caseSensitive: false),
78 RegExp(r'^ *\(C\) .+$', caseSensitive: false),
79 RegExp(r'^:copyright: .+$', caseSensitive: false),
80 RegExp(r'^ *[0-9][0-9][0-9][0-9].+ [<(].+@.+[)>]$'),
81 …RegExp(r'^ [^ ].* [<(].+@.+[)>]$'), // that's exactly the number of spaces to li…
82 RegExp(r'^ *and .+$', caseSensitive: false),
83 RegExp(r'^ *others\.?$', caseSensitive: false),
84 RegExp(r'^for more details\.$', caseSensitive: false),
85 RegExp(r'^ *For more info read ([^ ]+)$', caseSensitive: false),
86 RegExp(r'^(?:Google )?Author\(?s?\)?: .+', caseSensitive: false),
87 RegExp(r'^Written by .+', caseSensitive: false),
88 RegExp(r'^Based on$', caseSensitive: false),
89 RegExp(r"^based on (?:code in )?['`][^'`]+['`]$", caseSensitive: false),
90 RegExp(r'^Based on .+, written by .+, [0-9]+\.$', caseSensitive: false),
91 RegExp(r'^(?:Based on the )?x86 SIMD extension for IJG JPEG library(?: - version [0-9.]+|,)?$'),
92 RegExp(r'^This software originally derived from .+\.$'),
93 RegExp(r'^Derived from .+, which was$'),
94 RegExp(r'^ *This is part of .+, a .+ library\.$'),
95 RegExp(r'^This file is part of [^ ]+\.$'),
96 RegExp(r'^(?:Modification )?[Dd]eveloped [-0-9]+ by .+\.$', caseSensitive: false),
97 RegExp(r'^Modified .+[:.]$', caseSensitive: false),
98 RegExp(r'^(?:[^ ]+ )?Modifications:$', caseSensitive: false),
99 RegExp(r'^ *Modifications for', caseSensitive: false),
100 RegExp(r'^ *Modifications of', caseSensitive: false),
101 RegExp(r'^Last changed in .+$', caseSensitive: false),
102 …RegExp(r'[-_a-zA-Z0-9()]+ function provided freely by .+'), // TODO(ianh): file a bug on analyzer …
103 RegExp(r'^.+ optimized code \(C\) COPYRIGHT .+$', caseSensitive: false),
104 RegExp(r'^\(Royal Institute of Technology, Stockholm, Sweden\)\.$'),
105 RegExp(r'^\(?https?://[^ ]+$\)?'),
107 RegExp(r'^The Original Code is Mozilla Communicator client code, released$'),
108 RegExp(r'^March 31, 1998.$'), // mozilla first release date
110 RegExp(r'^The Elliptic Curve Public-Key Crypto Library \(ECC Code\) included$'),
111 RegExp(r'^herein is developed by SUN MICROSYSTEMS, INC\., and is contributed$'),
112 RegExp(r'^to the OpenSSL project\.$'),
114 RegExp(r'^This code is derived from software contributed to The NetBSD Foundation$'),
115 RegExp(r'^by (?:Atsushi Onoe|Dieter Baron|Klaus Klein|Luke Mewburn|Thomas Klausner|,| |and)*\.$'),
117 RegExp(r'^FT_Raccess_Get_HeaderInfo\(\) and raccess_guess_darwin_hfsplus\(\) are$'),
118 RegExp(r'^derived from ftobjs\.c\.$'),
121 RegExp(r"^This file (?:is|was) part of the Independent JPEG Group's software[:.]$"),
122 RegExp(r'^It was modified by The libjpeg-turbo Project to include only code$'),
123 RegExp(r'^relevant to libjpeg-turbo\.$'),
124 RegExp(r'^It was modified by The libjpeg-turbo Project to include only code relevant$'),
125 RegExp(r'^to libjpeg-turbo\.$'),
126 RegExp(r'^It was modified by The libjpeg-turbo Project to include only code and$'),
127 RegExp(r'^information relevant to libjpeg-turbo\.$'),
129 RegExp(r'^All or some portions of this file are derived from material licensed$'),
130 RegExp(r'^to the University of California by American Telephone and Telegraph$'),
131 RegExp(r'^Co\. or Unix System Laboratories, Inc\. and are reproduced herein with$'),
132 RegExp(r'^the permission of UNIX System Laboratories, Inc.$'),
134 RegExp(r'^This software was developed by the Computer Systems Engineering group$'),
135 RegExp(r'^at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and$'),
136 RegExp(r'^contributed to Berkeley\.$'),
138 RegExp(r'^This code is derived from software contributed to Berkeley by$'),
139 RegExp(r'^Ralph Campbell\. +This file is derived from the MIPS RISC$'),
140 RegExp(r'^Architecture book by Gerry Kane\.$'),
142 RegExp(r'^All advertising materials mentioning features or use of this software$'),
143 RegExp(r'^must display the following acknowledgement:$'),
144 RegExp(r'^This product includes software developed by the University of$'),
145 RegExp(r'^California, Lawrence Berkeley Laboratory\.$'),
147 RegExp(r'^ *Condition of use and distribution are the same than zlib :$'),
148 RegExp(r'^The MIT License:$'),
150 RegExp(r'^$'), // TODO(ianh): file an issue on what happens if you omit the close quote
155 final List<RegExp> licenseFragments = <RegExp>[
156 RegExp(r'"as is" without express or implied warranty\.'),
157 RegExp(r'version of this file under any of the LGPL, the MPL or the GPL\.'),
158 RegExp(r'SUCH DAMAGE\.'),
159 RegExp(r'found in the LICENSE file'),
160 RegExp(r'<http://www\.gnu\.org/licenses/>'),
161 RegExp(r'License & terms of use'),
169 final RegExp lrApache = RegExp(r'^(?: |\r|\n)*Apache License\b');
170 final RegExp lrMPL = RegExp(r'^(?: |\r|\n)*Mozilla Public License Version 2\.0\n');
171 final RegExp lrGPL = RegExp(r'^(?: |\r|\n)*GNU GENERAL PUBLIC LICENSE\n');
172 final RegExp lrAPSL = RegExp(r'^APPLE PUBLIC SOURCE LICENSE Version 2\.0 +- +August 6, 2003');
173 final RegExp lrMIT = RegExp(r'Permission(?: |\n)+is(?: |\n)+hereby(?: |\n)+granted,(?: |\n)+free(?:…
174 final RegExp lrOpenSSL = RegExp(r'Copyright \(c\) 1998-2011 The OpenSSL Project\. All rights reser…
175 final RegExp lrBSD = RegExp(r'Redistribution(?: |\n)+and(?: |\n)+use(?: |\n)+in(?: |\n)+source(?: |…
176 final RegExp lrZlib = RegExp(r'Permission(?: |\n)+is(?: |\n)+granted(?: |\n)+to(?: |\n)+anyone(?: |…
177 final RegExp lrPNG = RegExp(r'This code is released under the libpng license\.');
178 final RegExp lrBison = RegExp(r'This special exception was added by the Free Software Foundation in…
183 final List<RegExp> csNoCopyrights = <RegExp>[
189 RegExp(
196 RegExp(
206 RegExp(
216 RegExp(
224 RegExp(
246 final List<RegExp> csAttribution = <RegExp>[
252 RegExp(
281 final RegExp pattern;
294 pattern: RegExp(
307 pattern: RegExp(
323 pattern: RegExp(
340 pattern: RegExp(
357 pattern: RegExp(
374 pattern: RegExp(
386 pattern: RegExp(
398 pattern: RegExp(
413 pattern: RegExp(
430 pattern: RegExp(
467 pattern: RegExp(
479 pattern: RegExp(
491 pattern: RegExp(
504 pattern: RegExp(
519 pattern: RegExp(
537 pattern: RegExp(
556 pattern: RegExp(
572 final List<RegExp> csReferencesByType = <RegExp>[
578 RegExp(
584 RegExp(
591 RegExp(
617 final List<RegExp> csReferencesByTypeNoCopyright = <RegExp>[
622 RegExp(
650 final RegExp pattern;
664 pattern: RegExp(
678 pattern: RegExp(
702 pattern: RegExp(
726 pattern: RegExp(
742 pattern: RegExp(
762 pattern: RegExp(
784 pattern: RegExp(
799 pattern: RegExp(
816 pattern: RegExp(
849 pattern: RegExp(
882 pattern: RegExp(
914 pattern: RegExp(
948 pattern: RegExp(
982 pattern: RegExp(
1010 pattern: RegExp(
1041 pattern: RegExp(
1058 pattern: RegExp(
1112 pattern: RegExp(
1152 pattern: RegExp(
1167 pattern: RegExp(
1181 pattern: RegExp(
1196 final List<RegExp> csLicenses = <RegExp>[
1202 RegExp(
1251 RegExp(
1309 RegExp(
1334 RegExp(
1477 RegExp(
1499 RegExp(
1527 RegExp(
1599 RegExp(
1633 RegExp(
1655 RegExp(
1673 RegExp(
1688 RegExp(
1705 RegExp(
1729 RegExp(
1755 RegExp(
1777 RegExp(
1788 RegExp(
1803 RegExp(
1830 RegExp(
1850 RegExp(
1880 final List<RegExp> csNotices = <RegExp>[
1885 RegExp(
1913 RegExp(
1953 RegExp(
1964 RegExp(
1975 RegExp(
1992 final List<RegExp> csFallbacks = <RegExp>[
2006 final RegExp pattern;
2007 final RegExp targetPattern;
2018 pattern: RegExp(
2045 targetPattern: RegExp('Redistribution and use in source and binary forms(?:.|\n)+OpenSSL')
2052 pattern: RegExp(
2057 …targetPattern: RegExp('Redistribution and use in source and binary forms(?:.|\n)+SUN MICROSYSTEMS')