removed unused regex vars