02_test_components.ini 461 Bytes
Newer Older
eckhart's avatar
eckhart committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[match:group]
M1*: "(2 + x)"
M2: "(3)"

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


[match:factor]
M1: "-2"
M2: "-2.71828"
M3: "-x"
M4*: "(2 + x)"
M5: "-(a * b)"
M6*: "4x"
M7*: "-2x"

[fail:factor]
F1: "+22"
F2: "x4"
F3: "- 2"


[match:term]
M1: "2 * 4"
M2: "3x"
M3: "5 / 2"
M4: "5 / 2x"
M5*: "5 / -2x"
M6*: "-3*2y"

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

[match:expression]
M1: "3 + x"
M2*: "-5 - -4x"
M3*: "(a + b)(a - b)"

[fail:expression]
F1: "-5 - - 4x"
F2: "-5 - +4x"