7 lines
138 B
JavaScript
Executable file
7 lines
138 B
JavaScript
Executable file
var wildcard = require('..');
|
|
|
|
console.log(wildcard('foo.*', 'foo.bar'));
|
|
// --> true
|
|
|
|
console.log(wildcard('foo.*', 'foo'));
|
|
// --> true
|