glob icon indicating copy to clipboard operation
glob copied to clipboard

Matching a URI doesn't work

Open felixfbecker opened this issue 9 years ago • 0 comments

Glob::match(
  "file:///C:/Users/felix/git/OpenSource/php-language-server/fixtures/format.php",
  "C:/Users/felix/git/OpenSource/php-language-server/fixtures/**/*.php"
);

Expected: true (the glob should only be applied on the "path" component of the URI, not the scheme) Actual: false (since no scheme is defined in the glob pattern)

felixfbecker avatar Nov 12 '16 12:11 felixfbecker