File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
csharp/extractor/Semmle.Extraction.CSharp.Standalone Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -129,18 +129,17 @@ private void Initialize()
129129 {
130130 progressMonitor . FailedToReadFile ( file , ex ) ;
131131 }
132-
133132 }
134133 IsInitialized = true ;
135134 }
136135
137- [ GeneratedRegex ( "<PackageReference\\ s+Include =\" (.*?)\" .*/?>" , RegexOptions . IgnoreCase | RegexOptions . Compiled | RegexOptions . Singleline ) ]
136+ [ GeneratedRegex ( "<PackageReference.* \\ sInclude =\" (.*?)\" .*/?>" , RegexOptions . IgnoreCase | RegexOptions . Compiled | RegexOptions . Singleline ) ]
138137 private static partial Regex PackageReference ( ) ;
139138
140- [ GeneratedRegex ( "<FrameworkReference\\ s+Include =\" (.*?)\" .*/?>" , RegexOptions . IgnoreCase | RegexOptions . Compiled | RegexOptions . Singleline ) ]
139+ [ GeneratedRegex ( "<FrameworkReference.* \\ sInclude =\" (.*?)\" .*/?>" , RegexOptions . IgnoreCase | RegexOptions . Compiled | RegexOptions . Singleline ) ]
141140 private static partial Regex FrameworkReference ( ) ;
142141
143- [ GeneratedRegex ( "<Project \\ s+Sdk =\" (.*?)\" .*/?>" , RegexOptions . IgnoreCase | RegexOptions . Compiled | RegexOptions . Singleline ) ]
142+ [ GeneratedRegex ( "<(.* \\ s)?Project.* \\ sSdk =\" (.*?)\" .*/?>" , RegexOptions . IgnoreCase | RegexOptions . Compiled | RegexOptions . Singleline ) ]
144143 private static partial Regex ProjectSdk ( ) ;
145144 }
146145}
You can’t perform that action at this time.
0 commit comments