Regex constructor

const Regex(
  1. String pattern
)

Implementation

const Regex(this.pattern);