(value types.Val, regex *cregexp.Regexp)
| 1807 | } |
| 1808 | |
| 1809 | func matchRegex(value types.Val, regex *cregexp.Regexp) bool { |
| 1810 | return len(value.Value.(string)) > 0 && regex.MatchString(value.Value.(string), true, true) > 0 |
| 1811 | } |
| 1812 | |
| 1813 | type functionContext struct { |
| 1814 | tokens []string |
no outgoing calls
no test coverage detected
searching dependent graphs…