pedant

noun

1.
a person who pays more attention to formal rules and book learning than they merit
Derived from:
pedantic