[#1177] Add SQL Console module to jOOQ - Statement filtering is
implemented and exposed in UI.
This commit is contained in:
parent
e1093ad377
commit
297004550e
@ -71,11 +71,11 @@ public class TextMatcher implements Serializable {
|
||||
switch (type) {
|
||||
case CONTAINS: {
|
||||
String patternText = ".*\\Q" + text.replace("\\E", "\\\\E").replace("\\Q", "\\\\Q") + "\\E.*\\Q";
|
||||
pattern = Pattern.compile(patternText, isCaseSensitive? 0: Pattern.DOTALL | Pattern.CASE_INSENSITIVE);
|
||||
pattern = Pattern.compile(patternText, isCaseSensitive? Pattern.DOTALL: Pattern.DOTALL | Pattern.CASE_INSENSITIVE);
|
||||
break;
|
||||
}
|
||||
case MATCHES_REG_EXP: {
|
||||
pattern = Pattern.compile(text, isCaseSensitive? 0: Pattern.DOTALL | Pattern.CASE_INSENSITIVE);
|
||||
pattern = Pattern.compile(text, isCaseSensitive? Pattern.DOTALL: Pattern.DOTALL | Pattern.CASE_INSENSITIVE);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user