wildcardSegment property

Parser<WildcardSegment> wildcardSegment
final

Implementation

static final Parser<WildcardSegment> wildcardSegment =
    match<WildcardSegment>(RegExp('$notSlashRgx?' r'\*' '$notSlashRgx?'))
        .value((r) {
  var m = r.scanner.lastMatch;
  var pre = m[1] ?? '';
  var post = m[2] ?? '';
  return WildcardSegment(pre, post);
})