We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd4cecd commit 7e22960Copy full SHA for 7e22960
bin/file-watcher.cjs
@@ -9,7 +9,7 @@ const chokidarVersion4 = require(chokidarPackagePath).version.startsWith('4.');
9
10
const extractWildcardExtension = (path) => {
11
// Match patterns like *.php, **/*.blade.php
12
- const match = path.match(/\/\*\.((\\w|\\.)+)$/);
+ const match = path.match(/\/\*\.((\w|\.)+)$/);
13
14
return match ? match[1] : null;
15
};
0 commit comments