@@ -24,11 +24,11 const auto DATE_FORMAT = QStringLiteral("yyyy-MM-ddThh:mm:ss.zzz"); | |||
|
24 | 24 | const auto RESULT_LINE_SEPARATOR = QRegularExpression{QStringLiteral("\\s+")}; |
|
25 | 25 | |
|
26 | 26 | /// Regex to find unit in a line. Examples of valid lines: |
|
27 |
/// ... |
|
|
28 |
/// ... |
|
|
29 |
/// ... |
|
|
30 |
/// ... |
|
|
31 |
const auto UNIT_REGEX = QRegularExpression{QStringLiteral(" |
|
|
27 | /// ... PARAMETER_UNITS : nT ... | |
|
28 | /// ... PARAMETER_UNITS:nT ... | |
|
29 | /// ... PARAMETER_UNITS: m² ... | |
|
30 | /// ... PARAMETER_UNITS : m/s ... | |
|
31 | const auto UNIT_REGEX = QRegularExpression{QStringLiteral("\\s*PARAMETER_UNITS\\s*:\\s*(.+)")}; | |
|
32 | 32 | |
|
33 | 33 | /// Converts a string date to a double date |
|
34 | 34 | /// @return a double that represents the date in seconds, NaN if the string date can't be converted |
General Comments 0
You need to be logged in to leave comments.
Login now