-
Notifications
You must be signed in to change notification settings - Fork 16
/
deno_glob.deno.txt
41 lines (34 loc) · 2.27 KB
/
deno_glob.deno.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
DENO_GLOB
VERSION ==> #Part of Deno
#Browser compatible
std/path/glob.ts #
GLOBBING SYNTAX ==> #On STR, i.e. no file expansion, but does match path delimiters
#Dotglob enabled
#Does not have [^CHAR...]
#/*/ can match /
*
**
[CHAR...]
[!CHAR...]
[...[:CLASS:]...]
[...CHAR-CHAR2...]
{...,...}
@(...|...)
?(...|...)
*(...|...)
+(...|...) #
!(...|...) #Behaves like it is followed by *
globToRegExp('GLOB'[, OPTS])
->REGEXP #
OPTS.extended #BOOL (def: true). Whether to allow ?|@|*|+|!(...)
OPTS.globstar #BOOL (def: true). Whether to allow **
OPTS.caseInsensitive #BOOL (def: false)
OPTS.os #'windows|linux|darwin|freebsd' (def: current)
#On Unix:
# - separator: /
# - escape: \
#On Windows:
# - separator: / or \
# - escape: `