Called by the constructor of RegexTermEnum allowing implementations to cache a compiled version of the regular expression pattern.

Namespace: Lucene.Net.Search.Regex
Assembly: Contrib.Regex (in Contrib.Regex.dll) Version: 2.9.4.0 (2.9.4)

Syntax

C#
public void Compile(
	string pattern
)
Visual Basic
Public Sub Compile ( _
	pattern As String _
)
Visual C++
public:
virtual void Compile(
	String^ pattern
) sealed

Parameters

pattern
Type: System..::..String
regular expression pattern

Implements

IRegexCapabilities..::..Compile(String)

See Also