source: trip-planner-front/node_modules/wildcard/examples/strings.js@ 6c1585f

Last change on this file since 6c1585f was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 138 bytes
RevLine 
[6a3a178]1var wildcard = require('..');
2
3console.log(wildcard('foo.*', 'foo.bar'));
4// --> true
5
6console.log(wildcard('foo.*', 'foo'));
7// --> true
Note: See TracBrowser for help on using the repository browser.