capture matched strings