/usr/lib/nodejs/filename-regex/index.js is in node-filename-regex 2.0.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | /*!
* filename-regex <https://github.com/regexps/filename-regex>
*
* Copyright (c) 2014-2015, Jon Schlinkert
* Licensed under the MIT license.
*/
module.exports = function filenameRegex() {
return /([^\\\/]+)$/;
};
|