mirror of
https://github.com/bellingcat/datasheet-server.git
synced 2026-06-08 03:18:33 +03:00
deep regex non-greedy
This commit is contained in:
@@ -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: []
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user