RewriteConfig

Information about a rewrite transform. This transform matches a pattern and replaces it with the specified string.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The regular expression to match in the input string. The maximum length of the string is 1,024 characters.

Link copied to clipboard

The replacement string to use when rewriting the matched input. The maximum length of the string is 1,024 characters. You can specify capture groups in the regular expression (for example,

$1 and $

2).

Functions

Link copied to clipboard
inline fun copy(block: RewriteConfig.Builder.() -> Unit = {}): RewriteConfig
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String