deep regex non-greedy

This commit is contained in:
Lachlan Kermode
2019-01-04 12:16:58 +00:00
parent 11fec88030
commit a124d2c9bf
2 changed files with 1 additions and 13 deletions

View File

@@ -17,7 +17,7 @@ export default (data) => {
const output = []
// create a structure to indicate which columns needs to be aggregated
const endsWithNumber = new RegExp('(.*)[0-9]+$')
const endsWithNumber = new RegExp('(.*?)[0-9]+$')
const structure = {
__flat: []
}

View File

@@ -14,18 +14,6 @@ export default {
export_sites: BP.rows,
export_tags: BP.tree
}
},
{
name: 'ilovaisk',
id: '1fmK02NZSYM4gJL1KiSgjkIeo90NwY58o2QNYUepu1Fw',
tabs: {
export_events: [BP.deeprows, BP.rows],
export_categories: [BP.groups, BP.rows],
export_narratives: BP.rows,
export_sources: BP.deepids,
export_sites: BP.rows,
export_tags: BP.tree
}
}
]
}