Skip to content

Commit ce19947

Browse files
committed
the change was actually way easier than I thought
1 parent 1f333d5 commit ce19947

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/ch/njol/skript/variables/FlatFileStorage.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ static byte[] decode(String hex) {
531531
/**
532532
* A regex pattern of a line in a CSV file.
533533
*/
534-
private static final Pattern CSV_LINE_PATTERN = Pattern.compile("(?<=^|,)\\s*([^\",]*|\"([^\"]|\"\")*\")\\s*(,|$)");
534+
private static final Pattern CSV_LINE_PATTERN = Pattern.compile("(?<=^|,)\\s*([^\",]*|\"([^\"]+|\"\")*\")\\s*(,|$)");
535535

536536
/**
537537
* Splits the given CSV line into its values.

0 commit comments

Comments
 (0)