Examples using... regexp.MatchString()

Recent
MatchString reports whether the string s contains any match of the regular expression pattern. More complicated queries need to use Compile and the full Regexp interface.
Go offers built-in support for regular expressions. Here are some examples of common regexp-related tasks in Go.