Searched refs:DOWNLOAD_FILENAME_REGEX (Results 1 – 6 of 6) sorted by relevance
69 expect(FileUtils.DOWNLOAD_FILENAME_REGEX.test('Winscope2')).toBeTrue();70 expect(FileUtils.DOWNLOAD_FILENAME_REGEX.test('win_scope')).toBeTrue();71 expect(FileUtils.DOWNLOAD_FILENAME_REGEX.test('win-scope')).toBeTrue();72 expect(FileUtils.DOWNLOAD_FILENAME_REGEX.test('win.scope')).toBeTrue();73 expect(FileUtils.DOWNLOAD_FILENAME_REGEX.test('win.sc.ope')).toBeTrue();77 expect(FileUtils.DOWNLOAD_FILENAME_REGEX.test('w?n$cope')).toBeFalse();78 expect(FileUtils.DOWNLOAD_FILENAME_REGEX.test('winscope.')).toBeFalse();79 expect(FileUtils.DOWNLOAD_FILENAME_REGEX.test('w..scope')).toBeFalse();80 expect(FileUtils.DOWNLOAD_FILENAME_REGEX.test('wins--pe')).toBeFalse();81 expect(FileUtils.DOWNLOAD_FILENAME_REGEX.test('wi##cope')).toBeFalse();
24 static readonly DOWNLOAD_FILENAME_REGEX = /^\w+?((|#|-|\.)\w+)+$/; property in FileUtils
274 if (FileUtils.DOWNLOAD_FILENAME_REGEX.test(archiveFilenameNoIllegalChars)) {
125 expect(FileUtils.DOWNLOAD_FILENAME_REGEX.test(downloadFilename)).toBeTrue();
348 Validators.pattern(FileUtils.DOWNLOAD_FILENAME_REGEX),
127 Validators.pattern(FileUtils.DOWNLOAD_FILENAME_REGEX),