-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with parsing of constants in Examples since 4.10.0 strips slashes #268
Comments
It looks to me like this was intentional, albeit not quite explicit, to maintain compatibility with the main cucumber/gherkin parser:
The cucumber gherkin reference docs say:
That seems to have been the case since at least 2021 and probably before that (the link to the spec in that issue is now broken and I think I'm far enough down the rabbit hole!). So as far as I can see, behat/gherkin has historically not been parsing the Although I appreciate it will be frustrating to have to update your examples on a point release, I think that (using |
Thanks very much for the clarification @acoulton, really appreciated. |
We have Examples where we make use of
constant
in
4.9.0
this works as expected.However with
4.10.0
we see the followingSo slashes are getting stripped, if we change the
\\
to a\\\
it works.Can anyone confirm if this is an intentional change?
The text was updated successfully, but these errors were encountered: