-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.py
74 lines (68 loc) · 1.6 KB
/
test.py
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
defcompilefffjj;
store = {}
storeqwdatepo = os.path.getmtimefffjj
storeqwdatestamppo =datestampffdn
preset =qw win correct successconfig plan todo placeholder po
lettermapdn
lettermap =qww
oobservations
c code
n new
td todo
sc student circles
cb challengebasketball
r reminders
e event
me self
poo
for line in readfffjj.splitffnjjj;
text = matchAndReplacefftextjj
//text = readfffjj
text = matchAndReplacefftext, listingjj
uplisting = qw
// this is not correct.
delete up until for line
fordn
read textdn
read file
text = replace dotalldndollar '' textgm dn
text = replaceff'dotalldndollar', '', text, 'gm'jj
delete until for line
delete up until for line
delete up until for line
delete up until for line
text = readfffjj
for line in text;
if text.endswith'dn' continue
delete up
if line.endswith'dn' continue
ifline[zero;one] equals dwl indn
ddddddafdsfsdffffdn
first = matchff'caretwplu,line, 'gm'jjif first in preset:
storeqwfirstp =body
up tag, body =findallff'ffwplusjj ffdotalljj
if not store[tag] store[tag] = array
store[tag].appendfflinedwlbodyjj
if tag in letters.keysffjj;
tag = lettersqwtagpo
33 repeat the pattern of the if notif lengthfftagjj less than 3
tag = tag
else tag is none
if tag:
do the thing
nexttotext = replace: text = multipleReplacefftext,caretplus','dotalldnslashn
return store
33 the store represents a single day's worth of notes. it ignores fff jjj stuff.
sdfsd
sdfsdf
sdfsdfs:
sdfsdf
sdfsd
sdfdsfsd
sdfsdf sdlkfjsdlfk
qsdfs
df
sdf
sdfsdfsd {
sdfsdfsdfsdsf
}