-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdelimiters.txt
101 lines (50 loc) · 1.77 KB
/
delimiters.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
String DELIMITERS = "[-+=" +
" " + //space
"\r\n " + //carriage return line fit
"1234567890" + //numbers
"’'\"" + // apostrophe
"(){}<>\\[\\]" + // brackets
":" + // colon
"," + // comma
"‒–—―" + // dashes
"…" + // ellipsis
"!" + // exclamation mark
"." + // full stop/period
"«»" + // guillemets
"-‐" + // hyphen
"?" + // question mark
"‘’“”" + // quotation marks
";" + // semicolon
"/" + // slash/stroke
"⁄" + // solidus
"␠" + // space?
"·" + // interpunct
"&" + // ampersand
"@" + // at sign
"*" + // asterisk
"\\" + // backslash
"•" + // bullet
"^" + // caret
"¤¢$€£¥₩₪" + // currency
"†‡" + // dagger
"°" + // degree
"¡" + // inverted exclamation point
"¿" + // inverted question mark
"¬" + // negation
"#" + // number sign (hashtag)
"№" + // numero sign ()
"%‰‱" + // percent and related signs
"¶" + // pilcrow
"′" + // prime
"§" + // section sign
"~" + // tilde/swung dash
"¨" + // umlaut/diaeresis
"_" + // underscore/understrike
"|¦" + // vertical/pipe/broken bar
"⁂" + // asterism
"☞" + // index/fist
"∴" + // therefore sign
"‽" + // interrobang
"※" + // reference mark
"]";
String[] splitted = text.split(DELIMITERS);