Validate validates m's regular expressions.
()
| 1170 | |
| 1171 | // Validate validates m's regular expressions. |
| 1172 | func (m MatchHeaderRE) Validate() error { |
| 1173 | for _, rm := range m { |
| 1174 | err := rm.Validate() |
| 1175 | if err != nil { |
| 1176 | return err |
| 1177 | } |
| 1178 | } |
| 1179 | return nil |
| 1180 | } |
| 1181 | |
| 1182 | // CELLibrary produces options that expose this matcher for use in CEL |
| 1183 | // expression matchers. |