Implement smart-case match (#12)