02_test_components.ini 541 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

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

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

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

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