Linux v69820.1blu.de 4.15.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Apache/2.4.58
Server IP : 195.90.215.149 & Your IP : 216.73.217.80
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
node-micromatch /
examples /
Delete
Unzip
Name
Size
Permission
Date
Action
micromatch.braces.js
223
B
-rw-r--r--
2022-03-24 19:28
option-expandRange.js
568
B
-rw-r--r--
2022-03-24 19:28
option-ignore.js
227
B
-rw-r--r--
2022-03-24 19:28
option-onIgnore.js
359
B
-rw-r--r--
2022-03-24 19:28
option-onMatch.js
436
B
-rw-r--r--
2022-03-24 19:28
option-onResult.js
260
B
-rw-r--r--
2022-03-24 19:28
Save
Rename
'use strict'; const fill = require('fill-range'); const micromatch = require('..'); const regex = micromatch.makeRe('foo/{01..25}/bar', { expandRange(a, b) { return `(${fill(a, b, { toRegex: true })})`; } }); console.log(regex); //=> /^(?:foo\/((?:0[1-9]|1[0-9]|2[0-5]))\/bar)$/ console.log(regex.test('foo/00/bar')) // false console.log(regex.test('foo/01/bar')) // true console.log(regex.test('foo/10/bar')) // true console.log(regex.test('foo/22/bar')) // true console.log(regex.test('foo/25/bar')) // true console.log(regex.test('foo/26/bar')) // false