Repository navigation
Expand file tree
/
Copy pathfoo.yml
More file actions
130 lines (96 loc) · 1.67 KB
/
Copy pathfoo.yml
File metadata and controls
130 lines (96 loc) · 1.67 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
text:
tagval:
begins_from: start
tag: word
value: "single: "
# single: fixed: word% text%.number%=ip -- strong formatted value
# single: word|number|version|email|ip|link -- by priors
# "nested: nested_of:"
# "nested: word|number|"
# ""
text: tagval: tag: word, val: single:
text:
block:
starts: 0
ends: ' . '
format:
- single:
- nested:
format:
starts: 0
ends: ' '
single:
#nested
# block: block | value
#sample list
tagval:
tag: word
val: word|number|version|ip
app:
-good
-feels
-nice
$list_words:
list: word
delim: '.|-'
$text_single:
str:
begins: alpha
ends: " "
# ends: tag
# ends: tag: "connection"
#text one. text second. connection=
$tagval_word:
tagval:
tag: word OR ""
val:
#single: word
#nested: {{}}
#list: a,b,1.4
# list with delims
$list_with_delim:
list:
delim: '-'
name: "word|ip"
value: "word|ip"
go:
prob:
foo: float
it_1: int
it_2: str
bar:
b1: str
b2: qwd
go:
io:
# blocks
go:
- block:
$
# struct:
#
# check(format)
# type=list -> check(_list)
# type=any -> check(_all)
_go: "list|single"
list: list_with_delim('-', "block")
single: $any
# ext_all(tagval)
# ext_text() ->
# ext_text('begins', 'ends') -> text
# ext_texts() -> list<texts>
# ext_tags(tag=) -> list<block*>
# check()
# get() -> list<block*>
this is text text first.\n
pluses:
- short
- long
connection: bnqidud891289d
from: a,b,c,123
#features
- defined functions
!find(_begins_with) {
-> word: begins: $_begins_with
}
-args