Fix replacement warnings

Explicitly exclude array? and char
Merge pull request #1 from hadronzoo/fix-warnings

Fix replacement warnings