index.js 223 B

12345678910
  1. /*!
  2. * filename-regex <https://github.com/regexps/filename-regex>
  3. *
  4. * Copyright (c) 2014-2015, Jon Schlinkert
  5. * Licensed under the MIT license.
  6. */
  7. module.exports = function filenameRegex() {
  8. return /([^\\\/]+)$/;
  9. };