RegExp constructor

RegExp(
  1. String regexp, [
  2. String? options
])

Implementation

RegExp(this.regexp, [this.options]);