Changed the regex delimiter for "The url should match"
Using / as a regex delimiter when matching an url is a pain because it forces to escape all / in the url (and there more often / than " in an URL).
This commit is contained in:
@@ -99,8 +99,8 @@
|
||||
<target><![CDATA[/^(?:|je )devrais être sur "(?P<page>[^"]+)"$/]]></target>
|
||||
</trans-unit>
|
||||
<trans-unit id="the-url-should-match">
|
||||
<source><![CDATA[/^the url should match "(?P<pattern>(?:[^"]|\\")*)"$/]]></source>
|
||||
<target><![CDATA[/^l'url devrait suivre le motif "(?P<pattern>(?:[^"]|\\")*)"$/]]></target>
|
||||
<source><![CDATA[/^the (?i)url(?-i) should match "(?P<pattern>(?:[^"]|\\")*)"$/]]></source>
|
||||
<target><![CDATA[/^l'(?i)url(?-i) devrait suivre le motif "(?P<pattern>(?:[^"]|\\")*)"$/]]></target>
|
||||
</trans-unit>
|
||||
<trans-unit id="the-element-should-contain">
|
||||
<source><![CDATA[/^the "(?P<element>[^"]*)" element should contain "(?P<value>(?:[^"]|\\")*)"$/]]></source>
|
||||
|
||||
Reference in New Issue
Block a user