Navigation Menu

Skip to content

Commit

Permalink
[calligra] Fix escape characters in CSV parser. Contributes JB#46745
Browse files Browse the repository at this point in the history
  • Loading branch information
mphilippov-omp committed Nov 27, 2019
1 parent 5032cdb commit ca0ba4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rpm/calligra-sheets-csvimport.patch
Expand Up @@ -257,8 +257,8 @@ index 00000000000..f6b9d8f5da6
+
+QString CSVParser::detectDelimiter(const QString &text)
+{
+ QRegExp bracketsRegExp("\(.*?\)");
+ QRegExp squareBracketsRegExp("\[.*?\]");
+ QRegExp bracketsRegExp("\\(.*?\\)");
+ QRegExp squareBracketsRegExp("\\[.*?\\]");
+ QRegExp doubleQuotesRegExp("(\"([^\"]|\"\")*\")");
+ QRegExp quotesRegExp("(\'([^\']|\'\')*\')");
+
Expand Down

0 comments on commit ca0ba4a

Please sign in to comment.