I thought that there was code in there to strip that, but it’s been 3 years since I’ve done an mbox migration.
The title gets set in ...mbox/importer.rb`:
def map_first_post(row)
mapped = map_post(row)
mapped[:category] = category_id_from_imported_category_id(row['category'])
mapped[:title] = row['subject'].strip[0...255]
mapped
end
You can change the title line to something like:
mapped[:title] = row['subject'].strip[0...255].gsub(/^[.*?\]/,"")
I rarely get regex’s right the first time, so you’ll want to do a bit of testing (and maybe experiment at http://rubular.com/).