No, regexp just checks if the specified string is in the html string.  I don't know if there is an "assertStringIn" or some equivalent, so regexp seemed reasonable.