java.lang.Object
org.elasticsearch.common.lucene.RegExp
Simple wrapper for
RegExp that
avoids throwing StackOverflowErrors when working with regular
expressions as this will crash an Elasticsearch node. Instead, these
StackOverflowErrors are turned into
IllegalArgumentExceptions which elasticsearch returns as
a http 400.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintc()Character expression.exp1()Child expressions held by a container type expression.exp2()Child expressions held by a container type expression.org.apache.lucene.util.automaton.RegExp.Kindkind()The type of expression.intmin()Limits for repeatable type expressions.s()String expression.org.apache.lucene.util.automaton.Automatonorg.apache.lucene.util.automaton.AutomatontoAutomaton(int determinizeWorkLimit) toString()
-
Constructor Details
-
RegExp
-
RegExp
-
RegExp
-
-
Method Details
-
toAutomaton
public org.apache.lucene.util.automaton.Automaton toAutomaton() -
toAutomaton
public org.apache.lucene.util.automaton.Automaton toAutomaton(int determinizeWorkLimit) -
getOriginalString
-
toString
-
kind
public org.apache.lucene.util.automaton.RegExp.Kind kind()The type of expression. -
exp1
Child expressions held by a container type expression. -
exp2
Child expressions held by a container type expression. -
min
public int min()Limits for repeatable type expressions. -
s
String expression. -
c
public int c()Character expression.
-