Fix Null Warnings (#874)
* Fixing null warnings * Fix null warnings Fix other compiler warnings
This commit is contained in:
@@ -22,6 +22,6 @@ public static class WebPageHelpers
|
||||
{
|
||||
var regex = new Regex(regexpression);
|
||||
var match = regex.Match(input);
|
||||
return match.Groups.Values.LastOrDefault().Value;
|
||||
return match!.Groups!.Values!.LastOrDefault()!.Value;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user