diff --git a/Global_Indexer/My Project/AssemblyInfo.vb b/Global_Indexer/My Project/AssemblyInfo.vb index fd59bbe..f0f7f46 100644 --- a/Global_Indexer/My Project/AssemblyInfo.vb +++ b/Global_Indexer/My Project/AssemblyInfo.vb @@ -14,8 +14,8 @@ Imports System.Runtime.InteropServices - - + + @@ -33,7 +33,7 @@ Imports System.Runtime.InteropServices ' übernehmen, indem Sie "*" eingeben: ' - + \ No newline at end of file diff --git a/Global_Indexer/frmAdministration.vb b/Global_Indexer/frmAdministration.vb index 73b81d4..2750ad7 100644 --- a/Global_Indexer/frmAdministration.vb +++ b/Global_Indexer/frmAdministration.vb @@ -1059,7 +1059,7 @@ Public Class frmAdministration Private Sub Button2_Click_1(sender As Object, e As EventArgs) Handles Button2.Click Try - If Regex.IsMatch(TextBox1.Text, TextBox5.Text) Then + If Regex.IsMatch(TextBox1.Text, TextBox5.Text, RegexOptions.IgnoreCase) Then MsgBox("The RegEx resulted in a proper match!", MsgBoxStyle.Information, "Perfect:") Else MsgBox("No Match- There might be an error in the RegEx!", MsgBoxStyle.Information, "Something wrong:") diff --git a/Global_Indexer/frmIndex.vb b/Global_Indexer/frmIndex.vb index 03f6df3..7c09477 100644 --- a/Global_Indexer/frmIndex.vb +++ b/Global_Indexer/frmIndex.vb @@ -1841,7 +1841,7 @@ Public Class frmIndex If oApplyRegex Then For Each oRoW As DataRow In DTTBGI_REGEX_DOCTYPE.Rows Dim oOnlyFilename = Path.GetFileName(CURRENT_WORKFILE) - If Regex.IsMatch(oOnlyFilename, oRoW.Item("Regex")) Then + If Regex.IsMatch(oOnlyFilename, oRoW.Item("Regex"), RegexOptions.IgnoreCase) Then _Logger.Debug("There is a match on REGEX_DOCTYPE: [{0}]", oRoW.Item("DOCTYPE")) _Logger.Debug("Regex: [{0}], FileName: [{1}]", oRoW.Item("Regex"), oOnlyFilename)