Bachir Soussi Chiadmi cefd1c2ad0 updated sys and created publi | 6 年 前 | |
---|---|---|
.. | ||
README.md | 7 年 前 | |
index.js | 7 年 前 | |
package.json | 6 年 前 |
Regular expression for matching file names, with or without extension.
npm i filename-regex --save
var regex = require('filename-regex');
'a/b/c/d.min.js'.match(regex());
//=> match[0] = 'd.min.js'
'a/b/c/.dotfile'.match(regex());
//=> match[0] = '.dotfile'
Install dev dependencies:
npm i -d && npm test
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Jon Schlinkert
Copyright (c) 2015 Jon Schlinkert
Released under the MIT license
This file was generated by verb on January 24, 2015.