public Grok compileExpression ( final String expression ) { throwErrorIfDictionaryIsNotReady ( ) ; final String digestedExpression = digestExpressionAux ( expression ) ; logger . debug ( "Digested [" + expression + "] into [" + digestedExpression + "] before compilation" ) ; return new Grok ( Pattern . compile ( digestedExpression ) ) ; }
Compiles the expression into a pattern