Show / Hide Table of Contents

    Namespace Lucene.Net.Util.Automaton

    Finite-state automaton for regular expressions.

    This package contains a full DFA/NFA implementation with Unicode alphabet and support for all standard (and a number of non-standard) regular expression operations.

    The most commonly used functionality is located in the classes Automaton and RegExp.

    For more information, go to the package home page at http://www.brics.dk/automaton/.

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk

    Classes

    AutomatonTestUtil

    Utilities for testing automata.

    Capable of generating random regular expressions, and automata, and also provides a number of very basic unoptimized implementations (*slow) for testing.

    RandomAcceptedStrings

    Lets you retrieve random strings accepted by an Lucene.Net.Util.Automaton.

    Once created, call GetRandomAcceptedString(Random) to get a new string (in UTF-32 codepoints).

    • Improve this Doc
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)