@ExperimentalApi public class PatternTokenizerDescriptor extends Object implements com.atlassian.confluence.plugins.index.api.TokenizerDescriptor
Constructor and Description |
---|
PatternTokenizerDescriptor(Pattern pattern,
int group) |
public PatternTokenizerDescriptor(Pattern pattern, int group)
pattern
- A Java regular expression.group
- Which capture group to extract as tokens. Defaults to -1 (split).public Pattern getPattern()
public int getGroup()
Copyright © 2003–2021 Atlassian. All rights reserved.