StringMatchers

常见的字符串匹配器。

Entries

Link copied to clipboard

全等匹配

Link copied to clipboard

忽略大小写的全等匹配

Link copied to clipboard

首部匹配

Link copied to clipboard

尾部匹配.

Link copied to clipboard

包含匹配.

Functions

Link copied to clipboard
open override fun match(target: String, rule: String): 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

Extensions