public class LazyRegex
LazyRegex class provides a lazy evaluation of a Regex pattern for usages inside Rules. It computes the value once when reaching the point of its usage and returns the same value when requested again.
key & default are used to retrieve a value from config.
| Constructor and Description |
|---|
LazyRegex(java.lang.String key,
java.lang.String p)
LazyRegex class provides a lazy evaluation of a Regex pattern for usages inside Rules.
It computes the value once when reaching the point of its usage and returns the same
value when requested again.
|
| Modifier and Type | Method and Description |
|---|---|
kotlin.text.Regex |
getValue(Rule thisRef,
kotlin.reflect.KProperty<?> property) |
public LazyRegex(java.lang.String key,
java.lang.String p)
LazyRegex class provides a lazy evaluation of a Regex pattern for usages inside Rules. It computes the value once when reaching the point of its usage and returns the same value when requested again.
key & default are used to retrieve a value from config.
public kotlin.text.Regex getValue(Rule thisRef, kotlin.reflect.KProperty<?> property)