diff --git a/src/Behat/MinkExtension/Context/MinkContext.php b/src/Behat/MinkExtension/Context/MinkContext.php index c6eeb0f4..2e2b0d44 100644 --- a/src/Behat/MinkExtension/Context/MinkContext.php +++ b/src/Behat/MinkExtension/Context/MinkContext.php @@ -249,7 +249,7 @@ public function assertHomepage() * Example: Then the uri should match "log in" * Example: And the url should match "log in" * - * @Then /^the (?i)url(?-i) should match (?P"(?:[^"]|\\")*")$/ + * @Then /^the (?i)url(?-i) should match "(?P(?:[^"]|\\")*)"$/ */ public function assertUrlRegExp($pattern) { @@ -309,7 +309,7 @@ public function assertPageNotContainsText($text) * Example: Then I should see text matching "Batman, the vigilante" * Example: And I should not see "Batman, the vigilante" * - * @Then /^(?:|I )should see text matching (?P"(?:[^"]|\\")*")$/ + * @Then /^(?:|I )should see text matching "(?P(?:[^"]|\\")*)"$/ */ public function assertPageMatchesText($pattern) { @@ -321,7 +321,7 @@ public function assertPageMatchesText($pattern) * Example: Then I should see text matching "Bruce Wayne, the vigilante" * Example: And I should not see "Bruce Wayne, the vigilante" * - * @Then /^(?:|I )should not see text matching (?P"(?:[^"]|\\")*")$/ + * @Then /^(?:|I )should not see text matching "(?P(?:[^"]|\\")*)"$/ */ public function assertPageNotMatchesText($pattern) {