You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.
Hello,
Today I've notice unexpected behaviour statement when using value from TableNode: @Then /^the (?i)url(?-i) should match (?P<pattern>"([^"]|\\")*")$/
It generates broken formatted output: Then the url should match "<placeholder{-skipped}{+skipped_param}>{-skipped_param}{+skipped}"
instead of expected: Then the url should match "<placeholder>"
After small research, solution is pretty easy, update regex to exclude nested block of pattern inside quotes as its done on all other text/match patterns: @Then /^the (?i)url(?-i) should match (?P<pattern>"(?:[^"]|\\")*")$/
Regards,
Nick
The text was updated successfully, but these errors were encountered:
Hello,
Today I've notice unexpected behaviour statement when using value from TableNode:
@Then /^the (?i)url(?-i) should match (?P<pattern>"([^"]|\\")*")$/
It generates broken formatted output:
Then the url should match "<placeholder{-skipped}{+skipped_param}>{-skipped_param}{+skipped}"
instead of expected:
Then the url should match "<placeholder>"
After small research, solution is pretty easy, update regex to exclude nested block of pattern inside quotes as its done on all other text/match patterns:
@Then /^the (?i)url(?-i) should match (?P<pattern>"(?:[^"]|\\")*")$/
Regards,
Nick
The text was updated successfully, but these errors were encountered: