Behat/Mink — Issue #169: Add new steps checking page contains/not contains text matching a specified pattern
Author: proofek
Created: 2012-01-12 19:23:00+00:00
State: open

At the moment it is only possible to verify that a given text appears or not appears on a page. I'd like to be able to do the same, but using a specified regexp pattern.

Example:

I should see text matching "/ensure that you have at least PHP 5\.3\.\d installed/"

I should not see text matching "/ensure that you have at least PHP 5\.2\.\d installed/"