-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.grcat
61 lines (51 loc) · 982 Bytes
/
.grcat
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
# --------------------------------------------------------------------------------
# Author: Lee Pai Long <[email protected]>
# Date: 2016-04-02 03:06:59
# Last modified by Lee Pai Long on 2016-04-20 17:57:44
# License: WTFPL <http://www.wtfpl.net/>
# --------------------------------------------------------------------------------
#default word color
#regexp=[\w.,\:\-_/]+
regexp=.+
colours=green
-
#table borders
regexp=[+\-]+[+\-]|[|]
colours=red
-
#data in ( ) and ' '
regexp=\([\w\d,']+\)
colours=white
-
#numeric
regexp=\s[\d\.]+\s*($|(?=\|))
colours=yellow
-
#date
regexp=\d{4}-\d{2}-\d{2}
colours=cyan
-
#time
regexp=\d{2}:\d{2}:\d{2}
colours=cyan
-
#IP
regexp=(\d{1,3}\.){3}\d{1,3}(:\d{1,5})?
colours=cyan
-
#schema
regexp=`\w+`
colours=yellow
-
#email
regexp=[\w\.\-_]+@[\w\.\-_]+
colours=magenta
-
#row delimeter when using \G key
regexp=[*]+.+[*]+
count=stop
colours=white
-
#column names when using \G key
regexp=^\s*\w+:
colours=white