public final class PatternReplaceCharFilter extends CharFilter
| Constructor and Description |
|---|
PatternReplaceCharFilter(String name,
String pattern,
String replacement)
Constructor of
CharFilter. |
| Modifier and Type | Method and Description |
|---|---|
String |
getPattern()
Get the pattern property: A regular expression pattern.
|
String |
getReplacement()
Get the replacement property: The replacement text.
|
getNamepublic PatternReplaceCharFilter(String name, String pattern, String replacement)
CharFilter.name - The name of the char filter. It must only contain letters, digits,
spaces, dashes or underscores, can only start and end with alphanumeric
characters, and is limited to 128 characters.pattern - A regular expression pattern.replacement - The replacement text.Copyright © 2020 Microsoft Corporation. All rights reserved.