Table of Contents

Method Regex

Namespace
TantivyDotNet
Assembly
TantivyDotNet.dll

Regex(string)

Emits every match of pattern as a token (Rust regex syntax, which is close to .NET's but has no lookaround or backreferences). For example \w+ or [A-Za-z0-9_-]+.

public static Analyzer Regex(string pattern)

Parameters

pattern string

Returns

Analyzer

Remarks

The pattern is validated when the schema is used to create an index.