From 29662749db7cf05ae1aabeb38261802a4e15145e Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Sat, 10 Mar 2012 02:16:28 +0000 Subject: [PATCH] Fix case-insensitive regular expressions in the Select Lines dialog Originally committed to SVN as r6560. --- aegisub/src/dialog_selection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/dialog_selection.cpp b/aegisub/src/dialog_selection.cpp index 94c325798..934653557 100644 --- a/aegisub/src/dialog_selection.cpp +++ b/aegisub/src/dialog_selection.cpp @@ -105,7 +105,7 @@ static std::set process(wxString match_text, bool match_case, int int flags = wxRE_ADVANCED; if (!match_case) flags |= wxRE_ICASE; - if (!re.Compile(match_text)) + if (!re.Compile(match_text, flags)) throw BadRegex("Syntax error in regular expression", 0); match_case = false; }