Make sure the whole symbol matches the pattern