Have you tried the regex package in lucene's contrib? http://lucene.apache.org/java/2_4_0/api/org/apache/lucene/search/regex/package-summary.html
there are several implementations, I am not sure if one really exactly "perl compatible", but for your example I think it will do the trick. On Wed, Sep 2, 2009 at 5:14 PM, Michael Thomsen<mikerthom...@gmail.com> wrote: > Is it possible to translate this sort of Perl regex into a lucene query: > > /goth(am|ic)/ > > Where the only results that would be returned would be gotham or gothic? > > Thanks, > > Mike > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > > -- Robert Muir rcm...@gmail.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org