10 lines
221 B
Plaintext
10 lines
221 B
Plaintext
|
/* 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;
|
||
|
}
|