File tree Expand file tree Collapse file tree 1 file changed +13
-35
lines changed
src/main/resources/META-INF/resources/ace-builds/src-min-noconflict Expand file tree Collapse file tree 1 file changed +13
-35
lines changed Original file line number Diff line number Diff line change @@ -51,8 +51,19 @@ ace.define(
51
51
} ,
52
52
{
53
53
token : "keyword" ,
54
- regex : "^(\\d{2}:\\d{2}:\\d{2}){1}\\s+(?=(([a-zA-Z]+)?|([a-zA-Z]+:.*?)+(?!\\S)))?" ,
55
- next : "handleType" ,
54
+ regex : "^\\d{2}:\\d{2}:\\d{2}(?=(\\s+[a-zA-Z0-9:\\-\\/[\\]()+@#]+))" ,
55
+ } ,
56
+ {
57
+ token : "meta.tag" ,
58
+ regex : "(?<=^\\d{2}:\\d{2}:\\d{2}\\s+)[a-zA-Z0-9:\\-\\/[\\]()+@#]+(?=\\s+[a-zA-Z0-9:\\-\\/[\\]()+@#]+\\s+.*$)" ,
59
+ } ,
60
+ {
61
+ token : "constant.language" ,
62
+ regex : "(?<=^\\d{2}:\\d{2}:\\d{2}\\s+[a-zA-Z0-9:\\-\\/[\\]()+@#]+\\s+)[a-zA-Z0-9:\\-\\/[\\]()+@#]+(?=(\\s+.*$))" ,
63
+ } ,
64
+ {
65
+ token : "constant.numeric" ,
66
+ regex : "(?<=^\\d{2}:\\d{2}:\\d{2}\\s+[a-zA-Z0-9:\\-\\/[\\]()+@#]+\\s+[a-zA-Z0-9:\\-\\/[\\]()+@#]+\\s+).*$" ,
56
67
} ,
57
68
] ,
58
69
@@ -95,39 +106,6 @@ ace.define(
95
106
defaultToken : "string" ,
96
107
} ,
97
108
] ,
98
-
99
- handleType : [
100
- {
101
- token : "meta.tag" ,
102
- regex : "(([a-zA-Z]+)?|([a-zA-Z]+:.*?)+(?!\\S))\\s+(?=(\\w+:?)+)" ,
103
- next : "handleOccurance" ,
104
- } ,
105
- {
106
- defaultToken : "text" ,
107
- } ,
108
- ] ,
109
-
110
- handleOccurance : [
111
- {
112
- token : "constant.language" ,
113
- regex : "([a-zA-Z]+:.*?)+(?!\\S)" ,
114
- next : "handleError" ,
115
- } ,
116
- {
117
- defaultToken : "text" ,
118
- } ,
119
- ] ,
120
-
121
- handleError : [
122
- {
123
- token : "constant.numeric" ,
124
- regex : "(.*)?$" ,
125
- next : "start" ,
126
- } ,
127
- {
128
- defaultToken : "text" ,
129
- } ,
130
- ] ,
131
109
} ;
132
110
} ;
133
111
You can’t perform that action at this time.
0 commit comments