regEx static method

String regEx(
  1. String pattern
)

Implementation

static String regEx(String pattern) => "regex:$pattern";