8355 need libc regex tests
[unleashed.git] / usr / src / test / libc-tests / tests / regex / data / paren.in
blobc3e8a295fe267dd8b7ee2198aff8cec26757b4a2
1 # parentheses and perversions thereof
2 a(b)c           -       abc     abc
3 a\(b\)c         b       abc     abc
4 a(              C       EPAREN
5 a(              b       a(      a(
6 a\(             -       a(      a(
7 a\(             bC      EPAREN
8 a\(b            bC      EPAREN
9 a(b             C       EPAREN
10 a(b             b       a(b     a(b
11 # gag me with a right parenthesis -- 1003.2 goofed here (my fault, partly)
12 a)              b       EPAREN
13 )               b       EPAREN
14 # end gagging (in a just world, those *should* give EPAREN)
15 a)              b       a)      a)
16 a\)             bC      EPAREN
17 \)              bC      EPAREN
18 a()b            -       ab      ab
19 a\(\)b          b       ab      ab