source:
imaps-frontend/node_modules/wildcard/examples/strings.js
Last change on this file was 79a0317, checked in by , 4 days ago | |
---|---|
|
|
File size: 138 bytes |
Rev | Line | |
---|---|---|
[79a0317] | 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.