etc/protocols - sync with NetBSD-8
[minix.git] / tests / lib / libc / regex / data / subtle.in
blob92d68bb9c29b8caedbebe3ea9f28758246c57c79
1 # subtleties of matching
2 abc             &       xabcy   abc
3 a\(b\)?c\1d     b       acd
4 aBc             i       Abc     Abc
5 a[Bc]*d         i       abBCcd  abBCcd
6 0[[:upper:]]1   &i      0a1     0a1
7 0[[:lower:]]1   &i      0A1     0A1
8 a[^b]c          &i      abc
9 a[^b]c          &i      aBc
10 a[^b]c          &i      adc     adc
11 [a]b[c]         -       abc     abc
12 [a]b[a]         -       aba     aba
13 [abc]b[abc]     -       abc     abc
14 [abc]b[abd]     -       abd     abd
15 a(b?c)+d        -       accd    accd
16 (wee|week)(knights|night)       -       weeknights      weeknights
17 (we|wee|week|frob)(knights|night|day)   -       weeknights      weeknights
18 a[bc]d          -       xyzaaabcaababdacd       abd
19 a[ab]c          -       aaabc   abc
20 abc             s       abc     abc
21 a*              &       b       @b