a.b.cores, make it easier when updating extension part of regex, better flag checking.