title: Are the angle brackets (< or >) special in a regular expression?
body: <p>I am trying to get a regex expression to accept &lt; and > as my outside delimiters to grab all the content in between them.</p>
  
  <p>so content like such</p>
  
  <pre><code>&lt; tfdsfa  &gt;
  </code></pre>
  
  <p>should be grabbed.</p>
  
  <p>Do I have to escape the &lt; and > characters or something?</p>
  
  <p>Regex generated by my script:  </p>
  
  <pre><code>/&lt;[^(&gt;)]*&gt;/g
  </code></pre>
  
  <p>Code from file:  </p>
  
  <pre><code>data.method.highlight = function() {
      var x = data.syntax,
          text = data.$.span.html();
      for (var i=0, len = x.length; i &lt; len; i++) {
          var rx;
          if (x[i].range) {
              rx = new RegExp(x[i].tag[0] + "[^(" + x[i].tag[1] + ")]*" + x[i].tag[1], "g");
              console.log(rx);
          }
          else {
              var temprx = x[i].tag[0];
              for (var z = 1; z &lt; x[i].tag.length; z++) {
                  temprx += "|" + x[i].tag[z];
              }
              rx = new RegExp(temprx, "g");
          }
          text = text.replace(rx,function (match) {
              console.log("looping - range");
              return '&lt;span class="' + x[i].class.default + '"&gt;' + match + '&lt;/span&gt;';
          });
          data.$.span.html(text);
      }
  };
  </code></pre>