$ is literal inside character classes.