mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-26 03:16:14 +00:00
#852 Ignore case doesn't works when using Search in AS with russian text fixed
This commit is contained in:
@@ -180,8 +180,8 @@ public class ABCPanel extends JPanel implements ItemListener, ActionListener, Se
|
||||
ClassesListTreeModel clModel = (ClassesListTreeModel) scriptsNode;
|
||||
List<ScriptPack> allpacks = clModel.getList();
|
||||
final Pattern pat = regexp
|
||||
? Pattern.compile(txt, ignoreCase ? Pattern.CASE_INSENSITIVE : 0)
|
||||
: Pattern.compile(Pattern.quote(txt), ignoreCase ? Pattern.CASE_INSENSITIVE : 0);
|
||||
? Pattern.compile(txt, ignoreCase ? (Pattern.CASE_INSENSITIVE | Pattern.UNICODE_CASE) : 0)
|
||||
: Pattern.compile(Pattern.quote(txt), ignoreCase ? (Pattern.CASE_INSENSITIVE | Pattern.UNICODE_CASE) : 0);
|
||||
int pos = 0;
|
||||
for (final ScriptPack pack : allpacks) {
|
||||
pos++;
|
||||
|
||||
Reference in New Issue
Block a user