If you attempt to call `avy-goto-word-1` with `[`, it throws the error `avy--regex-candidates: Invalid regexp: "Unmatched [ or [^"`.
If you attempt to call
avy-goto-word-1with[, it throws the erroravy--regex-candidates: Invalid regexp: "Unmatched [ or [^".