mirror of
https://github.com/thangisme/notes.git
synced 2024-11-01 01:17:29 -04:00
11 lines
223 B
JavaScript
11 lines
223 B
JavaScript
|
/*!
|
||
|
* filename-regex <https://github.com/regexps/filename-regex>
|
||
|
*
|
||
|
* Copyright (c) 2014-2015, Jon Schlinkert
|
||
|
* Licensed under the MIT license.
|
||
|
*/
|
||
|
|
||
|
module.exports = function filenameRegex() {
|
||
|
return /([^\\\/]+)$/;
|
||
|
};
|