Fixed the regex of the step matching url to avoid breaking formatters
The inner group needs to be non-capturing. Fixes #99
This commit is contained in:
@@ -75,8 +75,8 @@
|
||||
<target><![CDATA[/^(?:|ich )sollte (?:|ich )auf "(?P<page>[^"]+)" sein$/]]></target>
|
||||
</trans-unit>
|
||||
<trans-unit id="the-url-should-match">
|
||||
<source><![CDATA[/^the (?i)url(?-i) should match (?P<pattern>"([^"]|\\")*")$/]]></source>
|
||||
<target><![CDATA[/^(?:|sollte )die Webadresse (?:|sollte )mit (?P<pattern>"([^"]|\\")*") übereinstimmen$/]]></target>
|
||||
<source><![CDATA[/^the (?i)url(?-i) should match (?P<pattern>"(?:[^"]|\\")*")$/]]></source>
|
||||
<target><![CDATA[/^(?:|sollte )die Webadresse (?:|sollte )mit (?P<pattern>"(?:[^"]|\\")*") übereinstimmen$/]]></target>
|
||||
</trans-unit>
|
||||
<trans-unit id="the-response-status-code-should-be">
|
||||
<source><![CDATA[/^the response status code should be (?P<code>\d+)$/]]></source>
|
||||
|
||||
Reference in New Issue
Block a user