Skip to content

Symfony yaml pattern with double quotes #24408

@faheemhameed

Description

@faheemhameed
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Symfony version 3.3.9
            pattern: 
                "^/api/(apiName1|\
                apiName2|\
                apiName3)"

The above pattern supposed to be translated as

{ pattern: '^/api/(apiName1|apiName2|apiName3)' }

http://nodeca.github.io/js-yaml/

But it's translated with a space for line break as below:

{ pattern: '^/api/(apiName1| apiName2| apiName3)' }

It seems to me like a bug.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions