watson-ruby
watson-ruby copied to clipboard
Some symbol in config is ignored.
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.
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
This bug is not fixed yet because \w is used by various places. ; g.u [dirs]