source:
trip-planner-front/node_modules/wildcard/examples/strings.js@
e29cc2e
Last change on this file since e29cc2e was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 138 bytes |
Rev | Line | |
---|---|---|
[6a3a178] | 1 | var wildcard = require('..'); |
2 | ||
3 | console.log(wildcard('foo.*', 'foo.bar')); | |
4 | // --> true | |
5 | ||
6 | console.log(wildcard('foo.*', 'foo')); | |
7 | // --> true |
Note:
See TracBrowser
for help on using the repository browser.