SimpleKeyword

class SimpleKeyword(val text: String, isPlainText: Boolean, regexOptions: Set<RegexOption>, val isStrict: Boolean) : Keyword(source)

一个普通的value值构建为 Keyword 实例。

Constructors

Link copied to clipboard
constructor(text: String, isPlainText: Boolean = false)

构造。

constructor(text: String, isPlainText: Boolean, regexOptions: Set<RegexOption>, isStrict: Boolean)

Properties

Link copied to clipboard
open override val isStrict: Boolean

此关键词匹配是否预期为严格匹配。 完全匹配(例如 equals, matches)则被视为严格匹配, 模糊匹配(例如 contains, find)则被视为非严格匹配。

Link copied to clipboard
open override val regex: Regex

关键词文本 text 转化后的正则类型。

Link copied to clipboard
open override val regexValueMatcher: ValueMatcher

基于正则 regex 的匹配与参数提取器。

Link copied to clipboard
open override val text: String

关键词的字符串文本。