title: Vim regex with metacharacters inside bracket
body: <p>How can you search for a metacharacter or another character in a vim regular expression?</p>
  
  <p>Example: (I would like this to match the metacharacter '\w' or the character '-' 1 or more times</p>
  
  <pre><code>[-\w]\+
  </code></pre>
  
  <p>But that regex does not work like I would hope it would. It only matches -, w and . I have tried to escape the '\' but that doesn't work.</p>
  
  <p>I have looked through the vim documentation, but there is no example of this.</p>