8000 [Yaml] Fixed the escaping of strings starting with a dash when dumping by stof · Pull Request #9274 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Yaml] Fixed the escaping of strings starting with a dash when dumping #9274

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

Merged
merged 1 commit into from
Oct 11, 2013

Conversation

stof
Copy link
Member
@stof stof commented Oct 10, 2013

Dashes need to be escaped in character sets in regexes as they are used to specify a range otherwise.
It fixes the dumper bug reported in #9039 (the parsing issue is not fix here)

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets partially #9039
License MIT
Doc PR n/a

Dashes need to be escaped in character sets in regexes as they are used to
specify a range otherwise.
Refs symfony#9039
fabpot added a commit that referenced this pull request Oct 11, 2013
…hen dumping (stof)

This PR was merged into the 2.2 branch.

Discussion
----------

[Yaml] Fixed the escaping of strings starting with a dash when dumping

Dashes need to be escaped in character sets in regexes as they are used to specify a range otherwise.
It fixes the dumper bug reported in #9039 (the parsing issue is not fix here)

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | partially #9039
| License       | MIT
| Doc PR        | n/a

Commits
-------

af369ae [Yaml] Fixed the escaping of strings starting with a dash when dumping
@fabpot fabpot merged commit af369ae into symfony:2.2 Oct 11, 2013
@stof stof deleted the fix_yaml_dumping_for_dashes branch April 8, 2014 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0