First upload version 0.0.1
This commit is contained in:
9
node_modules/filename-reserved-regex/index.js
generated
vendored
Normal file
9
node_modules/filename-reserved-regex/index.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
/* eslint-disable no-control-regex */
|
||||
|
||||
export default function filenameReservedRegex() {
|
||||
return /[<>:"/\\|?*\u0000-\u001F]/g;
|
||||
}
|
||||
|
||||
export function windowsReservedNameRegex() {
|
||||
return /^(con|prn|aux|nul|com\d|lpt\d)$/i;
|
||||
}
|
||||
Reference in New Issue
Block a user