code: func (p *Path) Regex(pattern *regexp.Regexp) *Path {
  	return p.Filters(shape.Regexp{Re: pattern, Refs: false})
  }
docs: // Regex represents the nodes that are matching provided regexp pattern.
  // It will only include Raw and String values.