title: Why do greater than and less than symbols match in the following regex?
body: <p>I'm trying to limit the punctuation that a user can enter into a text box and am using this regex:</p>
  
  <pre><code>^[\w ,-–\[\\\^\$\.\|\?\*\+\(\)\{\}/!@#&amp;\`\.'\n\r\f\t""’]*$
  </code></pre>
  
  <p>Why do > and &lt; produce a match?  They are not included in the regex.
  NOTE: this is being used in a asp.net regular expression validator.</p>
  
  <p>Edit:  here's the asp.net source:</p>
  
  <pre><code>&lt;input runat="server" type="text" id="txt_FName" class="textbox" maxlength="60" /&gt;
                      &lt;asp:RegularExpressionValidator ID="rfvRegexFName" runat="server" ControlToValidate="txt_FName" ErrorMessage="&lt;%$ Resources:Subscribe, inputValidationError %&gt;" /&gt;
  </code></pre>
  
  <p>In the code behind I add the expression:</p>
  
  <pre><code>rfvRegexFName.ValidationExpression = @"^[\w ,-–\[\\\^\$\.\|\?\*\+\(\)\{\}/!@#&amp;\`\.'\n\r\f\t""’]*$";
  </code></pre>