Description

Regexp asserts that a specified regexp matches a string.

a.Regexp(regexp.MustCompile("start"), "it's starting")
a.Regexp("start...$", "it's not starting")

Returns whether the assertion was successful (true) or not (false).

Regexp is referenced in 8 repositories

github.com/stretchr/testify github.com/leebenson/conform github.com/kazukgw/gorprel

...