org.apache.lucene.sandbox.queries.regex

## Interface RegexCapabilities

- All Known Implementing Classes:
    JakartaRegexpCapabilities, JavaUtilRegexCapabilities

  Deprecated.
  Use core's regex query.

      @Deprecated
      public interface RegexCapabilities

  Defines basic operations needed by `RegexQuery` for a regular expression implementation.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static interface` | `RegexCapabilities.RegexMatcher` Deprecated. Use core's regex query.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `RegexCapabilities.RegexMatcher` | `compile(String pattern)` Deprecated. Called by the constructor of `RegexTermsEnum` allowing implementations to cache a compiled version of the regular expression pattern.

- - ### Method Detail

    - #### compile

          RegexCapabilities.RegexMatcher compile(String pattern)

      Deprecated.
      Called by the constructor of `RegexTermsEnum` allowing implementations to cache a compiled version of the regular expression pattern.
      Parameters:
        `pattern` - regular expression pattern

Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.