Closed 8ctopus closed 1 year ago
Yes, I noticed and opened an issue for me #890. I'd still like to have wildcard matching so I'm gonna write a few more tests for it.
There is also this option: minimatch(response.exception.name, glob, { windowsPathsNoEscape: true })
but I think it only works if the code runs on windows. So I'll need to find another implementation.
I've just tried minimatch(response.exception.name, glob, { windowsPathsNoEscape: true })
as you suggested, unfortunately it's not working.
Actually, I was not properly setup, it works, at least on my OS Windows.
I need to thoroughly test this on Linux and Mac too. Will try to do this evening.
I've made a separate PR where I implemented * and ** matching. Please look at https://github.com/xdebug/vscode-php-debug/pull/892/files#diff-df0963a80e4aa05ab41c92cb55f6a3d1e0426a27d746bf5cf3c6ad5bc706e25d for all the cases and let me know if I missed something.
Closing this as solved in #890 and #892
Sorry, I didn't get a chance to look into it yet.
You must use forward-slashes only in glob expressions
.