* Fix string splitting regexp in splitLines().
This commit is contained in:
parent
c8ae4f4286
commit
504e5dba18
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ public class StringUtils {
|
|||
* @return an array of lines
|
||||
*/
|
||||
public static String[] splitLines(String str) {
|
||||
return str.split("\\r|\\n|\\r\\n");
|
||||
return str.split("\\r\\n|\\r|\\n");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue