Captures one segment as name, if it matches pattern.
name
pattern
const ConstrainedSegment(this.name, this.pattern);