RegexSegment constructor

RegexSegment(
  1. RegExp? regex
)

Create a regex segment.

Implementation

RegexSegment(this.regex) : isGlobStar = false;