02_test_components.ini 469 Bytes
Newer Older
eckhart's avatar
eckhart committed
1
[match:group]
2
M1: "(2 + x)"
eckhart's avatar
eckhart committed
3
4
5
6
7
8
9
10
11
M2: "(3)"

[fail:group]
F1: "22"
F2: "y"


[match:factor]
M1: "-2"
12
13
14
15
16
M2: "+22"
M3: "-2.71828"
M4: "-x"
M5: "(2 + x)"
M6: "-(a * b)"
eckhart's avatar
eckhart committed
17
18

[fail:factor]
19
20
F1: "x4"
F2: "- 2"
eckhart's avatar
eckhart committed
21
22
23
24
25
26

[match:term]
M1: "2 * 4"
M2: "3x"
M3: "5 / 2"
M4: "5 / 2x"
27
28
M5: "5 / -2x"
M6: "-3*2y"
Eckhart Arnold's avatar
Eckhart Arnold committed
29
30
M7: "4x"
M8: "-2x"
eckhart's avatar
eckhart committed
31
32
33
34
35
36
37

[fail:term]
F1: "2 + 4"
F2: "4 - 5"

[match:expression]
M1: "3 + x"
38
39
40
M2: "-5 - -4x"
M3: "(a + b)(a - b)"
M4: "a - 5 + b"
41
M5: "-5 - +4x"
eckhart's avatar
eckhart committed
42
43
44

[fail:expression]
F1: "-5 - - 4x"
45