KeywordRegexMatchers

使用 keyword 进行的正则匹配.

如果你想使用 StringMatcher 作为 KeywordMatcher 使用,参考 asKeywordMatcher.

Entries

Link copied to clipboard

完整正则匹配

Link copied to clipboard

包含正则匹配

Functions

Link copied to clipboard
open override fun match(target: String, rule: Keyword): Boolean

通过匹配规则,对目标进行匹配检测。

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
Link copied to clipboard