WordBound constructor

const WordBound(
  1. RegExpComponent expression, {
  2. bool start = false,
  3. bool end = false,
  4. bool negated = false,
})

Attach Word Boundary symbol \b or \B (negated form) to expression

Implementation

const WordBound(this.expression, {
  this.start = false, this.end = false, this.negated = false,
});