mikemccand commented on a change in pull request #225: URL: https://github.com/apache/lucene/pull/225#discussion_r725015736
########## File path: lucene/core/src/java/org/apache/lucene/util/automaton/RegExp.java ########## @@ -551,12 +551,22 @@ static RegExp newLeafNode( return new RegExp(flags, kind, null, null, s, c, min, max, digits, from, to); } + /** + * Return an <code>Automaton</code> from this <code>RegExp</code> that will skip the determinize + * and minimize step + * + * @return {@link Automaton} most likely non-deterministic + */ + public Automaton toNFA() { Review comment: Yes, I think that's right! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org