Public repository: timo / feel

Reader

An interpreter of FEEL, written in Rust, with integrations for PostgreSQL, WASM, Lua, and Python.

1
[
2
  {
3
    "id": "1103-feel-substring-function:001_53051b5628:feel-substring-function_001_53051b5628",
4
    "expression": "substring(\"f\",1)",
5
    "expected": "f",
6
    "expected_type": "string",
7
    "comparison": "exact",
8
    "deviation": null
9
  },
10
  {
11
    "id": "1103-feel-substring-function:002_03d12b93f0:feel-substring-function_002_03d12b93f0",
12
    "expression": "substring(\"f\",1,1)",
13
    "expected": "f",
14
    "expected_type": "string",
15
    "comparison": "exact",
16
    "deviation": null
17
  },
18
  {
19
    "id": "1103-feel-substring-function:003_6d06b1d2ec:feel-substring-function_003_6d06b1d2ec",
20
    "expression": "substring(\"foobar\",6)",
21
    "expected": "r",
22
    "expected_type": "string",
23
    "comparison": "exact",
24
    "deviation": null
25
  },
26
  {
27
    "id": "1103-feel-substring-function:004_938a24e7af:feel-substring-function_004_938a24e7af",
28
    "expression": "substring(\"foobar\",1,6)",
29
    "expected": "foobar",
30
    "expected_type": "string",
31
    "comparison": "exact",
32
    "deviation": null
33
  },
34
  {
35
    "id": "1103-feel-substring-function:005_21fcca286c:feel-substring-function_005_21fcca286c",
36
    "expression": "substring(\"foobar\",3)",
37
    "expected": "obar",
38
    "expected_type": "string",
39
    "comparison": "exact",
40
    "deviation": null
41
  },
42
  {
43
    "id": "1103-feel-substring-function:006_253e533bc6:feel-substring-function_006_253e533bc6",
44
    "expression": "substring(\"foobar\",3,3)",
45
    "expected": "oba",
46
    "expected_type": "string",
47
    "comparison": "exact",
48
    "deviation": null
49
  },
50
  {
51
    "id": "1103-feel-substring-function:007_3e021f33a8:feel-substring-function_007_3e021f33a8",
52
    "expression": "substring(\"foobar\",-2,1)",
53
    "expected": "a",
54
    "expected_type": "string",
55
    "comparison": "exact",
56
    "deviation": null
57
  },
58
  {
59
    "id": "1103-feel-substring-function:008_ddeffdc93e:feel-substring-function_008_ddeffdc93e",
60
    "expression": "substring(\"foob r\",-2,1)",
61
    "expected": " ",
62
    "expected_type": "string",
63
    "comparison": "exact",
64
    "deviation": null
65
  },
66
  {
67
    "id": "1103-feel-substring-function:009_b52405c384:feel-substring-function_009_b52405c384",
68
    "expression": "substring(\"foobar\",-6,6)",
69
    "expected": "foobar",
70
    "expected_type": "string",
71
    "comparison": "exact",
72
    "deviation": null
73
  },
74
  {
75
    "id": "1103-feel-substring-function:010_fbf9a89fde:feel-substring-function_010_fbf9a89fde",
76
    "expression": "substring(\"foobar\",3,3.8)",
77
    "expected": "oba",
78
    "expected_type": "string",
79
    "comparison": "exact",
80
    "deviation": null
81
  },
82
  {
83
    "id": "1103-feel-substring-function:011_a559ce6410:feel-substring-function_011_a559ce6410",
84
    "expression": "substring(string:\"foobar\",start position :3)",
85
    "expected": "obar",
86
    "expected_type": "string",
87
    "comparison": "exact",
88
    "deviation": null
89
  }
90
]