aboutsummaryrefslogtreecommitdiff
path: root/plugins/editorconfig/tests/glob/braces.in
blob: 0400aeb73d07c121d1479775134575c2a39d146a (plain)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
; test { and }

root=true

; word choice
[*.{py,js,html}]
choice=true

; single choice
[{single}.b]
choice=single

; empty choice
[{}.c]
empty=all

; choice with empty word
[a{b,c,}.d]
empty=word

; choice with empty words
[a{,b,,c,}.e]
empty=words

; no closing brace
[{.f]
closing=false

; nested braces
[{word,{also},this}.g]
nested=true

; nested braces, adjacent at start
[{{a,b},c}.k]
nested_start=true

; nested braces, adjacent at end
[{a,{b,c}}.l]
nested_end=true

; closing inside beginning
[{},b}.h]
closing=inside

; opening inside beginning
[{{,b,c{d}.i]
unmatched=true

; escaped comma
[{a\,b,cd}.txt]
comma=yes

; escaped closing brace
[{e,\},f}.txt]
closing=yes

; escaped backslash
[{g,\\,i}.txt]
backslash=yes

; patterns nested in braces
[{some,a{*c,b}[ef]}.j]
patterns=nested

; numeric braces
[{3..120}]
number=true

; alphabetical
[{aardvark..antelope}]
words=a