Regex case insensitve
This commit is contained in:
@@ -57,7 +57,7 @@ namespace AssetStudioGUI
|
|||||||
var assets = ResourceMap.GetEntries();
|
var assets = ResourceMap.GetEntries();
|
||||||
if (assets.Length != 0 && !string.IsNullOrEmpty(value))
|
if (assets.Length != 0 && !string.IsNullOrEmpty(value))
|
||||||
{
|
{
|
||||||
var regex = new Regex(value);
|
var regex = new Regex(value, RegexOptions.IgnoreCase);
|
||||||
assetListView.DataSource = Array.FindAll(assets, x => x.Matches(regex));
|
assetListView.DataSource = Array.FindAll(assets, x => x.Matches(regex));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user