Debian Codegraph @

debian/core-test/glob/braces.in

raw
1 ; test { and }
2
3 root=true
4
5 ; word choice
6 [*.{py,js,html}]
7 choice=true
8
9 ; single choice
10 [{single}.b]
11 choice=single
12
13 ; empty choice
14 [{}.c]
15 empty=all
16
17 ; choice with empty word
18 [a{b,c,}.d]
19 empty=word
20
21 ; choice with empty words
22 [a{,b,,c,}.e]
23 empty=words
24
25 ; no closing brace
26 [{.f]
27 closing=false
28
29 ; nested braces
30 [{word,{also},this}.g]
31 nested=true
32
33 ; nested braces, adjacent at start
34 [{{a,b},c}.k]
35 nested_start=true
36
37 ; nested braces, adjacent at end
38 [{a,{b,c}}.l]
39 nested_end=true
40
41 ; closing inside beginning
42 [{},b}.h]
43 closing=inside
44
45 ; opening inside beginning
46 [{{,b,c{d}.i]
47 unmatched=true
48
49 ; escaped comma
50 [{a\,b,cd}.txt]
51 comma=yes
52
53 ; escaped closing brace
54 [{e,\},f}.txt]
55 closing=yes
56
57 ; escaped backslash
58 [{g,\\,i}.txt]
59 backslash=yes
60
61 ; patterns nested in braces
62 [{some,a{*c,b}[ef]}.j]
63 patterns=nested
64
65 ; numeric braces
66 [{3..120}]
67 number=true
68
69 ; alphabetical
70 [{aardvark..antelope}]
71 words=a