diff --git a/i18n/cs.xliff b/i18n/cs.xliff
index 01d5afe..cb8d58c 100644
--- a/i18n/cs.xliff
+++ b/i18n/cs.xliff
@@ -99,8 +99,8 @@
[^"]+)"$/]]>
- (?:[^"]|\\")*)"$/]]>
- (?:[^"]|\\")*)"$/]]>
+ "([^"]|\\")*")$/]]>
+ "([^"]|\\")*")$/]]>
[^"]*)" element should contain "(?P(?:[^"]|\\")*)"$/]]>
diff --git a/i18n/de.xliff b/i18n/de.xliff
index f74ded4..4979456 100644
--- a/i18n/de.xliff
+++ b/i18n/de.xliff
@@ -99,8 +99,8 @@
[^"]+)" sein$/]]>
- (?:[^"]|\\")*)"$/]]>
- (?:[^"]|\\")*)" übereinstimmen$/]]>
+ "([^"]|\\")*")$/]]>
+ "([^"]|\\")*") übereinstimmen$/]]>
[^"]*)" element should contain "(?P(?:[^"]|\\")*)"$/]]>
diff --git a/i18n/es.xliff b/i18n/es.xliff
index f2e387a..cb07774 100644
--- a/i18n/es.xliff
+++ b/i18n/es.xliff
@@ -99,8 +99,8 @@
[^"]+)"$/]]>
- (?:[^"]|\\")*)"$/]]>
- (?:[^"]|\\")*)"$/]]>
+ "([^"]|\\")*")$/]]>
+ "([^"]|\\")*")$/]]>
[^"]*)" element should contain "(?P(?:[^"]|\\")*)"$/]]>
diff --git a/i18n/fr.xliff b/i18n/fr.xliff
index f0d32ac..b3a1d3b 100644
--- a/i18n/fr.xliff
+++ b/i18n/fr.xliff
@@ -66,6 +66,14 @@
(?:[^"]|\\")*)"$/]]>
(?:[^"]|\\")*)"$/]]>
+
+ "(?:[^"]|\\")*")$/]]>
+ "(?:[^"]|\\")*")$/]]>
+
+
+ "(?:[^"]|\\")*")$/]]>
+ "(?:[^"]|\\")*")$/]]>
+
(?:[^"]|\\")*)"$/]]>
(?:[^"]|\\")*)"$/]]>
@@ -99,8 +107,8 @@
[^"]+)"$/]]>
- (?:[^"]|\\")*)"$/]]>
- (?:[^"]|\\")*)"$/]]>
+ "([^"]|\\")*")$/]]>
+ "([^"]|\\")*")$/]]>
[^"]*)" element should contain "(?P(?:[^"]|\\")*)"$/]]>
diff --git a/i18n/ja.xliff b/i18n/ja.xliff
index 24f78c4..35b6247 100644
--- a/i18n/ja.xliff
+++ b/i18n/ja.xliff
@@ -99,8 +99,8 @@
[^\s]+) を表示していること$/]]>
- \/([^\/]|\\\/)*\/)$/]]>
- \/([^\/]|\\\/)*\/)" にマッチすること$/]]>
+ "([^"]|\\")*")$/]]>
+ "([^"]|\\")*") にマッチすること$/]]>
[^"]*)" element should contain "(?P(?:[^"]|\\")*)"$/]]>
diff --git a/i18n/nl.xliff b/i18n/nl.xliff
index 6723a4a..9b1c193 100644
--- a/i18n/nl.xliff
+++ b/i18n/nl.xliff
@@ -95,8 +95,8 @@
[^"]+)" zijn$/]]>
- (?:[^"]|\\")*)"$/]]>
- (?:[^"]|\\")*)"$/]]>
+ "([^"]|\\")*")$/]]>
+ "([^"]|\\")*")$/]]>
[^"]*)" element should contain "(?P(?:[^"]|\\")*)"$/]]>
diff --git a/i18n/pl.xliff b/i18n/pl.xliff
index 7481f31..38b3332 100644
--- a/i18n/pl.xliff
+++ b/i18n/pl.xliff
@@ -99,8 +99,8 @@
[^"]+)"$/]]>
- (?:[^"]|\\")*)"$/]]>
- (?:[^"]|\\")*)"$/]]>
+ "([^"]|\\")*")$/]]>
+ "([^"]|\\")*")$/]]>
[^"]*)" element should contain "(?P(?:[^"]|\\")*)"$/]]>
diff --git a/i18n/pt.xliff b/i18n/pt.xliff
index 9193ce8..558e5b6 100644
--- a/i18n/pt.xliff
+++ b/i18n/pt.xliff
@@ -95,8 +95,8 @@
[^"]+)"$/]]>
- (?:[^"]|\\")*)"$/]]>
- (?:[^"]|\\")*)"$/]]>
+ "([^"]|\\")*")$/]]>
+ "([^"]|\\")*")$/]]>
[^"]*)" element should contain "(?P(?:[^"]|\\")*)"$/]]>
diff --git a/i18n/ru.xliff b/i18n/ru.xliff
index 9111b1f..528af9c 100644
--- a/i18n/ru.xliff
+++ b/i18n/ru.xliff
@@ -107,8 +107,8 @@
[^"]+)"$/]]>
- \/([^\/]|\\\/)*\/)$/]]>
- (?:[^"]|\\")*)"$/]]>
+ "([^"]|\\")*")$/]]>
+ "([^"]|\\")*")$/]]>
[^"]*)" element should contain "(?P(?:[^"]|\\")*)"$/]]>
diff --git a/i18n/sv.xliff b/i18n/sv.xliff
index 58e0f9a..d73bc53 100644
--- a/i18n/sv.xliff
+++ b/i18n/sv.xliff
@@ -95,8 +95,8 @@
[^"]+)"$/]]>
- (?:[^"]|\\")*)"$/]]>
- (?:[^"]|\\")*)"$/]]>
+ "([^"]|\\")*")$/]]>
+ "([^"]|\\")*")$/]]>
[^"]*)" element should contain "(?P(?:[^"]|\\")*)"$/]]>
diff --git a/src/Behat/MinkExtension/Context/MinkContext.php b/src/Behat/MinkExtension/Context/MinkContext.php
index 0bbf7b6..80fad9e 100644
--- a/src/Behat/MinkExtension/Context/MinkContext.php
+++ b/src/Behat/MinkExtension/Context/MinkContext.php
@@ -186,7 +186,7 @@ class MinkContext extends RawMinkContext implements TranslatedContextInterface
/**
* Checks, that current page PATH matches regular expression.
*
- * @Then /^the (?i)url(?-i) should match (?P\/([^\/]|\\\/)*\/)$/
+ * @Then /^the (?i)url(?-i) should match (?P"([^"]|\\")*")$/
*/
public function assertUrlRegExp($pattern)
{
diff --git a/src/Behat/MinkExtension/Context/MinkDictionary.php b/src/Behat/MinkExtension/Context/MinkDictionary.php
index e492a08..b37cc44 100644
--- a/src/Behat/MinkExtension/Context/MinkDictionary.php
+++ b/src/Behat/MinkExtension/Context/MinkDictionary.php
@@ -254,7 +254,7 @@ trait MinkDictionary
/**
* Checks, that current page PATH matches regular expression.
*
- * @Then /^the (?i)url(?-i) should match (?P\/([^\/]|\\\/)*\/)$/
+ * @Then /^the (?i)url(?-i) should match (?P"([^"]|\\")*")$/
*/
public function assertUrlRegExp($pattern)
{