| 1 |
; test [ and ] |
| 2 |
|
| 3 |
root=true |
| 4 |
|
| 5 |
; Character choice |
| 6 |
[[ab].a] |
| 7 |
choice=true |
| 8 |
|
| 9 |
; Negative character choice |
| 10 |
[[!ab].b] |
| 11 |
choice=false |
| 12 |
|
| 13 |
; Character range |
| 14 |
[[d-g].c] |
| 15 |
range=true |
| 16 |
|
| 17 |
; Negative character range |
| 18 |
[[!d-g].d] |
| 19 |
range=false |
| 20 |
|
| 21 |
; Range and choice |
| 22 |
[[abd-g].e] |
| 23 |
range_and_choice=true |
| 24 |
|
| 25 |
; Choice with dash |
| 26 |
[[-ab].f] |
| 27 |
choice_with_dash=true |
| 28 |
|
| 29 |
; Close bracket inside |
| 30 |
[[\]ab].g] |
| 31 |
close_inside=true |
| 32 |
|
| 33 |
; Close bracket outside |
| 34 |
[[ab]].g] |
| 35 |
close_outside=true |
| 36 |
|
| 37 |
; Negative close bracket inside |
| 38 |
[[!\]ab].g] |
| 39 |
close_inside=false |
| 40 |
|
| 41 |
; Negative¬close bracket outside |
| 42 |
[[!ab]].g] |
| 43 |
close_outside=false |
| 44 |
|
| 45 |
; Slash inside brackets |
| 46 |
[ab[e/]cd.i] |
| 47 |
slash_inside=true |
| 48 |
|
| 49 |
; Slash after an half-open bracket |
| 50 |
[ab[/c] |
| 51 |
slash_half_open=true |