withReference

fun withReference(label: String, regex: String): <Error class: unknown class>

Adds a reference to the pattern. All the occurrences will be replaced.

Return

this for concatenation

Parameters

label

text to be replaced

regex

new pattern to replace the label with