46 Respect options ignorecase and smartcase

Close #46.