()
| 11 | var rootChildPath = regexp.MustCompile(`^(\$|\.)([^\.]+)$`) |
| 12 | |
| 13 | func (p *OpPath) isRootChild() bool { |
| 14 | path := string(*p) |
| 15 | return rootChildPath.MatchString(path) |
| 16 | } |
| 17 | |
| 18 | var endsWithBracketExp = regexp.MustCompile(`\[([^\]]+)\]$`) |
| 19 |
no outgoing calls