()
| 82 | } |
| 83 | |
| 84 | func (r *Regexp) String() string { |
| 85 | var strings string |
| 86 | for _, m := range r.matchers { |
| 87 | strings += fmt.Sprintf("%s, ", m.GetRegexString()) |
| 88 | } |
| 89 | |
| 90 | return strings |
| 91 | } |
| 92 | |
| 93 | // cheatToSeeInternals is a struct that mirrors the memory layout of labels.FastRegexMatcher |
| 94 | // to allow unsafe access to its private fields for performance optimization decisions. |
no outgoing calls