文件操作 - _cloneRegExp.js
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/lodash/_cloneRegExp.js
编辑文件内容
/** Used to match `RegExp` flags from their coerced string values. */ var reFlags = /\w*$/; /** * Creates a clone of `regexp`. * * @private * @param {Object} regexp The regexp to clone. * @returns {Object} Returns the cloned regexp. */ function cloneRegExp(regexp) { var result = new regexp.constructor(regexp.source, reFlags.exec(regexp)); result.lastIndex = regexp.lastIndex; return result; } module.exports = cloneRegExp;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件