If a word is `\[foo]`, it should match the string `[foo]`.
If a word is
\[foo], it should match the string[foo].