Repository navigation
Expand file tree
/
Copy pathregex_split.json
More file actions
42 lines (42 loc) · 1.46 KB
/
Copy pathregex_split.json
File metadata and controls
42 lines (42 loc) · 1.46 KB
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
{
"create_time": "2023-06-08T22:39:25.682132+00:00",
"custom_function_id": "b7653e07ce4309a75f8df4e933c16f11e67ce25d",
"description": "Use a regular expression to split an input_string into multiple items.",
"draft_mode": false,
"inputs": [
{
"contains_type": [
"*"
],
"description": "The input string to split.",
"input_type": "item",
"name": "input_string",
"placeholder": "string to split"
},
{
"contains_type": [],
"description": "The regular expression to use to split the string. Reserved regular expression characters should be escaped with a backslash, so '\\.' will match '.' and '\\\\\\\\' will match '\\'.",
"input_type": "item",
"name": "regex",
"placeholder": "[\\s.,;]+"
},
{
"contains_type": [],
"description": "Either True or False to indicate whether or not to remove whitespace before and after each item. Defaults to True",
"input_type": "item",
"name": "strip_whitespace",
"placeholder": "True"
}
],
"outputs": [
{
"contains_type": [
"*"
],
"data_path": "*.item",
"description": "A list of items created by splitting the input string."
}
],
"platform_version": "4.10.3.51237",
"python_version": "3.13"
}