File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ import (
1010 "unicode"
1111)
1212
13- var version = "0.1.0 "
14- var newLine = regexp .MustCompile (`\r?\n` )
13+ var version = "0.1.1 "
14+ var newLine = regexp .MustCompile (`( \r?\n)+ ` )
1515var refNumber = regexp .MustCompile (`\(([0-9]+(–[0-9]+)*(, )?)+\)( )?` )
1616var duplicateWhiteSpace = regexp .MustCompile (`( ){2,}` )
17- var hyphenAtEnd = regexp .MustCompile (`-([^\S]+|\n )` )
17+ var hyphenAtEnd = regexp .MustCompile (`-([^\S]+|(\r?\n) )` )
1818var endOfSentence = regexp .MustCompile (`[?!.]` )
1919var emptyErrorMsg = `NSaYw3'D2o,W1eL_|ac\`
2020
Original file line number Diff line number Diff line change @@ -415,7 +415,7 @@ Split sentence.</string>
415415 </dict >
416416 </dict >
417417 <key >version </key >
418- <string >0.1.0 </string >
418+ <string >0.1.1 </string >
419419 <key >webaddress </key >
420420 <string >https://www.poyo.info/ </string >
421421</dict >
You can’t perform that action at this time.
0 commit comments