apply method

String apply(
  1. String text
)

Applies the replacement to the given text.

Implementation

String apply(String text)
=> text.replaceAllMapped(_pattern, _map);