10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-10-03 06:50:58 +02:00

Fix parenthesis

This commit is contained in:
Mickaël Véril 2020-01-06 09:45:42 +01:00
parent 6addc32215
commit f817d7329f

View File

@ -237,7 +237,7 @@ class dataFileBase {
var hasType=vals.length>=7 && isNaN(vals[6])
var type=((vals.length>=7 && hasType) ? vals[6] : null)
if(type) {
const m=type.match(/^{([^\}]*)}$/)
const m=type.match(/^\(([^\)]*)\)$/)
if (m) {
type=m[1]
}