add German low-high quotes to split pattern

auto-update
Zlatin Balevsky 2022-01-14 13:27:03 +00:00
parent 62aba02a79
commit 106b7772f8
No known key found for this signature in database
GPG Key ID: A72832072D525E41
1 changed files with 5 additions and 1 deletions

View File

@ -2,7 +2,7 @@ package com.muwire.core
class SplitPattern {
public static final String SPLIT_PATTERN = "[\\*\\+\\-,\\.:;\\(\\)=_/\\\\\\!\\\"\\\'\\\$%\\|\\[\\]\\{\\}\\?\r\n]";
public static final String SPLIT_PATTERN = "[‚‘„“\\*\\+\\-,\\.:;\\(\\)=_/\\\\\\!\\\"\\\'\\\$%\\|\\[\\]\\{\\}\\?\r\n]";
private static final Set<Character> SPLIT_CHARS = new HashSet<>()
static {
@ -31,6 +31,10 @@ class SplitPattern {
add('{'.toCharacter())
add('}'.toCharacter())
add('?'.toCharacter())
add('„'.toCharacter())
add('“'.toCharacter())
add(''.toCharacter())
add(''.toCharacter())
}
}