Skip to content
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

Some symbol in config is ignored. #216

Open
alpaca-tc opened this issue Dec 9, 2013 · 2 comments
Open

Some symbol in config is ignored. #216

alpaca-tc opened this issue Dec 9, 2013 · 2 comments

Comments

@alpaca-tc
Copy link
Contributor

In the ruby regexp, /\w/ is the same as /[a-zA-Z0-9_]/.
Therefore when given wp-config to [files], filename.match(/(\.(\w+))$/) can not get correct file_path.

I think we need to fix this bug but I do not know that what symbol is permitted to register path on Unix.

This is a quick note to report to you.

@nhmood nhmood closed this as completed in 7fc5f8b Dec 10, 2013
@nhmood
Copy link
Owner

nhmood commented Dec 10, 2013

The same problem was happening in the ignore section.
I think \S+ fixes the problem, I wasn't able to come up with anything to break it using that, but if you know of a scenario let me know

@alpaca-tc
Copy link
Contributor Author

This bug is not fixed yet because \w is used by various places. ; g.u [dirs]

@nhmood nhmood reopened this Dec 11, 2013
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

No branches or pull requests

2 participants