Called by the constructor of RegexTermEnum allowing implementations to cache
a compiled version of the regular expression pattern.
Namespace: Lucene.Net.Search.RegexAssembly: Contrib.Regex (in Contrib.Regex.dll) Version: 2.9.4.0 (2.9.4)
Syntax
C# |
---|
void Compile( string pattern ) |
Visual Basic |
---|
Sub Compile ( _ pattern As String _ ) |
Visual C++ |
---|
void Compile( String^ pattern ) |
Parameters
- pattern
- Type: System..::..String
regular expression pattern