title: jquery - pattern matching
body: <p>I've been trying to use the jquery match() function, but I'm not able to get anything I try to work... </p>
  
  <p>Basically, I'm trying to match any string between parentheses: </p>
  
  <p>(sample)
  (pokemon)
  (su54gar99)</p>
  
  <p>... etc.  </p>
  
  <p>Tried this (the latest attempt... not sure how many I've gone through at this point...)</p>
  
  <pre><code>$('.acf').each(function() {
                  var ac = $(this);
                  ac.data('changed', false);
                  ac.data('alias', 'ac-real-');
                  ac.data('rx',  /\s*\(\s+\)\s*/i);
                  ac.data('name', ac.attr('name'));
                  ac.data('id', ac.attr('id'));
                  ac.data('value', ac.val());
          });
  </code></pre>