StringMatcher is a matcher that matches a string in place of a regular expression.
| 464 | |
| 465 | // StringMatcher is a matcher that matches a string in place of a regular expression. |
| 466 | type StringMatcher interface { |
| 467 | Matches(s string) bool |
| 468 | } |
| 469 | |
| 470 | // stringMatcherFromRegexp attempts to replace a common regexp with a string matcher. |
| 471 | // It returns nil if the regexp is not supported. |
no outgoing calls
no test coverage detected
searching dependent graphs…