diff --git a/platform/util/src/com/intellij/psi/codeStyle/NameUtil.java b/platform/util/src/com/intellij/psi/codeStyle/NameUtil.java index 131bd261a43b..bcc8d62e5524 100644 --- a/platform/util/src/com/intellij/psi/codeStyle/NameUtil.java +++ b/platform/util/src/com/intellij/psi/codeStyle/NameUtil.java @@ -124,8 +124,8 @@ public class NameUtil { // buffer.append(Integer.toHexString(c + 0x20000).substring(1)); // for OROMATCHER RegExp engine - buffer.append("\\x"); - buffer.append(Integer.toHexString(c + 0x20000).substring(3)); + buffer.append("\\").append(c); + //buffer.append(Integer.toHexString(c + 0x20000).substring(2)); } } @@ -208,8 +208,8 @@ public class NameUtil { // buffer.append(Integer.toHexString(c + 0x20000).substring(1)); // for OROMATCHER RegExp engine - buffer.append("\\x"); - buffer.append(Integer.toHexString(c + 0x20000).substring(3)); + buffer.append("\\").append(c); + //buffer.append(Integer.toHexString(c + 0x20000).substring(3)); } } @@ -351,7 +351,7 @@ public class NameUtil { return builder.toString(); } - /** + /* * Don't try regexp matcher on names, which do not contain all the alphanumerics from the pattern in pattern's original order. */ private boolean prefilter(String name, char[] pattern) {