watson-ruby icon indicating copy to clipboard operation
watson-ruby copied to clipboard

Some symbol in config is ignored.

Open alpaca-tc opened this issue 11 years ago • 2 comments

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.

alpaca-tc avatar Dec 09 '13 17:12 alpaca-tc

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

nhmood avatar Dec 10 '13 05:12 nhmood

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

alpaca-tc avatar Dec 10 '13 07:12 alpaca-tc