To the letter

Exactly, precisely.

The police officer always follows the law to the letter.