index.js 223 B

1234567891011
  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. };