02_test_components.ini 583 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 Arnold's avatar
Eckhart Arnold committed
17
18
19
M7: "2x"
M8: "-2x"
M9: "-(2 + 4)x(3 + 4)"
eckhart's avatar
eckhart committed
20
21

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

[match:term]
M1: "2 * 4"
M2: "3x"
M3: "5 / 2"
29
M4*: "5 / 2x"
30
31
M5: "5 / -2x"
M6: "-3*2y"
Eckhart Arnold's avatar
Eckhart Arnold committed
32
33
M7: "4x"
M8: "-2x"
34
35
M9: "20 / 2 * 2"
M10: "20 / (2 * 2)"
eckhart's avatar
eckhart committed
36
37
38
39
40
41
42

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

[match:expression]
M1: "3 + x"
43
44
45
M2: "-5 - -4x"
M3: "(a + b)(a - b)"
M4: "a - 5 + b"
46
M5: "-5 - +4x"
47
48
M6: "5 - 4 + 3"
M7: "5 - (4 + 3)"
eckhart's avatar
eckhart committed
49
50
51

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