Skip to content

Fix glob patterns in .editorconfig #519

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
Sep 24, 2017
Merged

Fix glob patterns in .editorconfig #519

merged 1 commit into from
Sep 24, 2017

Conversation

vhenzl
Copy link
Contributor

@vhenzl vhenzl commented Sep 24, 2017

If a glob pattern contains braces ({}) and there isn't any comma in between them, the pattern isn't considered to be a list with only one item but braces are part of the expected string (see editorconfig/editorconfig-core-test).

Therefore, [*.{xml}] matched eg. foo.{xml} but not foo.xml or phpunit.xml.

[*.{xml}] matched eg. foo.{xml} but not foo.xml
@ondrejmirtes
Copy link
Member

Thank you very much!

@vhenzl vhenzl deleted the pr/fix-editorconfig branch September 24, 2017 08:51
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