etc/protocols - sync with NetBSD-8
[minix.git] / tests / lib / libc / regex / data / repet_bounded.in
blobee6ff4cd190ce835227be72b507173505dae0500
1 # the dreaded bounded repetitions
2 {               &       {       {
3 {abc            &       {abc    {abc
4 {1              C       BADRPT
5 {1}             C       BADRPT
6 a{b             &       a{b     a{b
7 a{1}b           -       ab      ab
8 a\{1\}b         b       ab      ab
9 a{1,}b          -       ab      ab
10 a\{1,\}b        b       ab      ab
11 a{1,2}b         -       aab     aab
12 a\{1,2\}b       b       aab     aab
13 a{1             C       EBRACE
14 a\{1            bC      EBRACE
15 a{1a            C       EBRACE
16 a\{1a           bC      EBRACE
17 a{1a}           C       BADBR
18 a\{1a\}         bC      BADBR
19 a{,2}           -       a{,2}   a{,2}
20 a\{,2\}         bC      BADBR
21 a{,}            -       a{,}    a{,}
22 a\{,\}          bC      BADBR
23 a{1,x}          C       BADBR
24 a\{1,x\}        bC      BADBR
25 a{1,x           C       EBRACE
26 a\{1,x          bC      EBRACE
27 a{300}          C       BADBR
28 a\{300\}        bC      BADBR
29 a{1,0}          C       BADBR
30 a\{1,0\}        bC      BADBR
31 ab{0,0}c        -       abcac   ac
32 ab\{0,0\}c      b       abcac   ac
33 ab{0,1}c        -       abcac   abc
34 ab\{0,1\}c      b       abcac   abc
35 ab{0,3}c        -       abbcac  abbc
36 ab\{0,3\}c      b       abbcac  abbc
37 ab{1,1}c        -       acabc   abc
38 ab\{1,1\}c      b       acabc   abc
39 ab{1,3}c        -       acabc   abc
40 ab\{1,3\}c      b       acabc   abc
41 ab{2,2}c        -       abcabbc abbc
42 ab\{2,2\}c      b       abcabbc abbc
43 ab{2,4}c        -       abcabbc abbc
44 ab\{2,4\}c      b       abcabbc abbc
45 ((a{1,10}){1,10}){1,10} -       a       a       a,a