title: What regular expression features are supported by Solr edismax?
body: <p>Regular expressions allows for the pattern matching syntax shown below.
  I'm trying to implement a powerful search tool that implements as many of these as possible.
  I'm told that edismax is the most flexible tool for the job.
  Which of the pattern matching expressions below can be accomplished with edismax? Can I do better than edismax? Can you suggest which filters and parser patches I might use to work towards achieving this functionality? Am I dreaming if I think Solr can achieve acceptable performance (i.e. server-side processing time) of these kinds of searches?</p>
  
  <p><strong>regular expression syntax &amp; examples from <a href="http://dev.mysql.com/doc/refman/5.1/en/regexp.html">mysql</a></strong> </p>
  
  <ol>
  <li>^ match beginning of string. <code>'fofo' REGEXP '^fo' =&gt; true</code> </li>
  <li>$ match end of string. <code>'fo\no' REGEXP '^fo\no$' =&gt; true</code></li>
  <li>* 0-unlimited wildcard. <code>'Baaaan' REGEXP 'Ba*n' =&gt; true</code></li>
  <li>? 0-1 wildcard. <code>'Baan' REGEXP '^Ba?n =&gt; false'</code></li>
  <li>+ 1-unlimited wildcard. <code>'Bn' REGEXP 'Ba+n' =&gt; false</code></li>
  <li>| or. <code>'pi' REGEXP 'pi|apa' =&gt; true</code> </li>
  <li>()* sequence match. <code>'pipi' REGEXP '^(pi)*$' =&gt; true</code></li>
  <li>[a-dX], [^a-dX] character range/set <code>'aXbc' REGEXP '[a-dXYZ]' =&gt; true</code></li>
  <li>{n} or {m,n} cardinality notation <code>'abcde' REGEXP 'a[bcd]{3}e' =&gt; true</code></li>
  <li>[:character_class:]  <code>'justalnums' REGEXP '[[:alnum:]]+' =&gt; true</code></li>
  </ol>