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:
@@ -100,8 +100,8 @@
|
||||
<target><![CDATA[/^(?:|我)应该到了“(?P<page>[^\s]+)”$/]]></target>
|
||||
</trans-unit>
|
||||
<trans-unit id="the-url-should-match">
|
||||
<source><![CDATA[/^the (?i)url(?-i) should match (?P<pattern>"([^"]|\\")*")$/]]></source>
|
||||
<target><![CDATA[/^(?i)url(?-i) 应该匹配“(?P<pattern>"([^"]|\\")*")”$/]]></target>
|
||||
<source><![CDATA[/^the (?i)url(?-i) should match (?P<pattern>"(?:[^"]|\\")*")$/]]></source>
|
||||
<target><![CDATA[/^(?i)url(?-i) 应该匹配“(?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