mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
i18n searchable options: \\pL -> ^\\pL
GitOrigin-RevId: 768ae4cf0a97f898c6a4a207721a893903cb48cf
This commit is contained in:
committed by
intellij-monorepo-bot
parent
5262b6bb49
commit
60a8e34003
@@ -252,7 +252,7 @@ public final class SearchUtil {
|
||||
|
||||
@NotNull
|
||||
private static Pattern getNonWordPattern(boolean i18n) {
|
||||
return Pattern.compile("[" + (i18n ? "\\pL" : "\\W") + "&&[^\\p{Punct}\\p{Blank}]]");
|
||||
return Pattern.compile("[" + (i18n ? "^\\pL" : "\\W") + "&&[^\\p{Punct}\\p{Blank}]]");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user