A ratiometric fluorescent nanoprobe based on terbium functionalized carbon dots for highly sensitive detection of an anthrax biomarker.