blob: 0bb594df2db5cf68c5f9e1b8c38623434b2a896b (
plain)
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Perl" version="1.02" kateversion="2.0" section="Scripts" extensions="*.pl;*.pm" mimetype="application/x-perl;text/x-perl">
<highlighting>
<list name="keywords">
<item> if </item>
<item> unless </item>
<item> else </item>
<item> elsif </item>
<item> while </item>
<item> until </item>
<item> for </item>
<item> each </item>
<item> foreach </item>
<item> next </item>
<item> last </item>
<item> break </item>
<item> continue </item>
<item> return </item>
<item> use </item>
<item> no </item>
<item> require </item>
<item> my </item>
<item> our </item>
<item> local </item>
<item> BEGIN </item>
<item> END </item>
<item>require</item>
<item> package </item>
<item> sub </item>
<item> do </item>
<item> __END__ </item>
<item> __DATA__ </item>
<item> __FILE__ </item>
<item> __LINE__ </item>
<item> __PACKAGE__ </item>
</list>
<list name="operators">
<item> = </item>
<item> != </item>
<item> ~= </item>
<item> += </item>
<item> -= </item>
<item> *= </item>
<item> /= </item>
<item> **= </item>
<item> |= </item>
<item> ||= </item>
<item> &= </item>
<item> &&= </item>
<item> ?= </item>
<item> + </item>
<item> - </item>
<item> * </item>
<item> / </item>
<item> % </item>
<item> || </item>
<item> && </item>
<item> | </item>
<item> & </item>
<item> < </item>
<item> << </item>
<item> > </item>
<item> >> </item>
<item> ^ </item>
<item> -> </item>
<item> => </item>
<item> . </item>
<item> , </item>
<item> ; </item>
<item> :: </item>
<item> \ </item>
<item> and </item>
<item> or </item>
<item> not </item>
<item> eq </item>
<item> ne </item>
</list>
<list name="functions">
<item>abs</item>
<item>accept</item>
<item>alarm</item>
<item>atan2</item>
<item>bind</item>
<item>binmode</item>
<item>bless</item>
<item>caller</item>
<item>chdir</item>
<item>chmod</item>
<item>chomp</item>
<item>chop</item>
<item>chown</item>
<item>chr</item>
<item>chroot</item>
<item>close</item>
<item>closedir</item>
<item>connect</item>
<item>cos</item>
<item>crypt</item>
<item>dbmclose</item>
<item>dbmopen</item>
<item>defined</item>
<item>delete</item>
<item>die</item>
<item>dump</item>
<item>endgrent</item>
<item>endhostent</item>
<item>endnetent</item>
<item>endprotoent</item>
<item>endpwent</item>
<item>endservent</item>
<item>eof</item>
<item>eval</item>
<item>exec</item>
<item>exists</item>
<item>exit</item>
<item>exp</item>
<item>fcntl</item>
<item>fileno</item>
<item>flock</item>
<item>fork</item>
<item>format</item>
<item>formline</item>
<item>getc</item>
<item>getgrent</item>
<item>getgrgid</item>
<item>getgrnam</item>
<item>gethostbyaddr</item>
<item>gethostbyname</item>
<item>gethostent</item>
<item>getlogin</item>
<item>getnetbyaddr</item>
<item>getnetbyname</item>
<item>getnetent</item>
<item>getpeername</item>
<item>getpgrp</item>
<item>getppid</item>
<item>getpriority</item>
<item>getprotobyname</item>
<item>getprotobynumber</item>
<item>getprotoent</item>
<item>getpwent</item>
<item>getpwnam</item>
<item>getpwuid</item>
<item>getservbyname</item>
<item>getservbyport</item>
<item>getservent</item>
<item>getsockname</item>
<item>getsockopt</item>
<item>glob</item>
<item>gmtime</item>
<item>goto</item>
<item>grep</item>
<item>hex</item>
<item>import</item>
<item>index</item>
<item>int</item>
<item>ioctl</item>
<item>join</item>
<item>keys</item>
<item>kill</item>
<item>last</item>
<item>lc</item>
<item>lcfirst</item>
<item>length</item>
<item>link</item>
<item>listen</item>
<item>localtime</item>
<item>lock</item>
<item>log</item>
<item>lstat</item>
<item>map</item>
<item>mkdir</item>
<item>msgctl</item>
<item>msgget</item>
<item>msgrcv</item>
<item>msgsnd</item>
<item>oct</item>
<item>open</item>
<item>opendir</item>
<item>ord</item>
<item>pack</item>
<item>package</item>
<item>pipe</item>
<item>pop</item>
<item>pos</item>
<item>print</item>
<item>printf</item>
<item>prototype</item>
<item>push</item>
<item>quotemeta</item>
<item>rand</item>
<item>read</item>
<item>readdir</item>
<item>readline</item>
<item>readlink</item>
<item>recv</item>
<item>redo</item>
<item>ref</item>
<item>rename</item>
<item>reset</item>
<item>return</item>
<item>reverse</item>
<item>rewinddir</item>
<item>rindex</item>
<item>rmdir</item>
<item>scalar</item>
<item>seek</item>
<item>seekdir</item>
<item>select</item>
<item>semctl</item>
<item>semget</item>
<item>semop</item>
<item>send</item>
<item>setgrent</item>
<item>sethostent</item>
<item>setnetent</item>
<item>setpgrp</item>
<item>setpriority</item>
<item>setprotoent</item>
<item>setpwent</item>
<item>setservent</item>
<item>setsockopt</item>
<item>shift</item>
<item>shmctl</item>
<item>shmget</item>
<item>shmread</item>
<item>shmwrite</item>
<item>shutdown</item>
<item>sin</item>
<item>sleep</item>
<item>socket</item>
<item>socketpair</item>
<item>sort</item>
<item>splice</item>
<item>split</item>
<item>sprintf</item>
<item>sqrt</item>
<item>srand</item>
<item>stat</item>
<item>study</item>
<item>sub</item>
<item>substr</item>
<item>symlink</item>
<item>syscall</item>
<item>sysread</item>
<item>sysseek</item>
<item>system</item>
<item>syswrite</item>
<item>tell</item>
<item>telldir</item>
<item>tie</item>
<item>time</item>
<item>times</item>
<item>truncate</item>
<item>uc</item>
<item>ucfirst</item>
<item>umask</item>
<item>undef</item>
<item>unlink</item>
<item>unpack</item>
<item>unshift</item>
<item>untie</item>
<item>utime</item>
<item>values</item>
<item>vec</item>
<item>wait</item>
<item>waitpid</item>
<item>wantarray</item>
<item>warn</item>
<item>write</item>
</list>
<list name="pragmas">
<item>strict</item>
<item>english</item>
<item>warnings</item>
<item>vars</item>
<item>subs</item>
<item>utf8</item>
<item>sigtrap</item>
<item>locale</item>
<item>open</item>
<item>less</item>
<item>integer</item>
<item>filetest</item>
<item>constant</item>
<item>bytes</item>
<item>diagnostics</item>
</list>
<contexts>
<context attribute="Normal Text" name="default" lineEndContext="#stay" name="normal">
<RegExpr attribute="Keyword" context="#stay" String="^#!\/.*" />
<RegExpr attribute="Keyword" context="data_handle" String="^__DATA__" />
<RegExpr attribute="Keyword" context="end_handle" String="^__END__" />
<keyword attribute="Keyword" context="#stay" String="keywords" />
<keyword attribute="Operator" context="#stay" String="operators" />
<keyword attribute="Function" context="#stay" String="functions" />
<keyword attribute="Pragma" context="#stay" String="pragmas" />
<RegExpr attribute="Comment" context="comment" String="#" />
<RegExpr attribute="Pod" context="pod" String="^\=(?:head[1-6]|over|back|item|for|begin|end|pod)\s*.*" />
<RegExpr attribute="Keyword" context="sub_name_def" String="\s*sub\s+" />
<HlCOct attribute="Octal" context="slash_safe_escape" />
<HlCHex attribute="Hex" context="slash_safe_escape" />
<Float attribute="Float" context="slash_safe_escape" />
<Int attribute="Decimal" context="slash_safe_escape" />
<RegExpr attribute="Normal Text" context="#stay" String="\\["']" />
<Detect2Chars attribute="Normal Text" context="#stay" char="&" char1="'" />
<DetectChar attribute="String (interpolated)" context="ip_string" char="""/>
<DetectChar attribute="String" context="string" char="'"/>
<AnyChar attribute="Operator" context="#stay" String="&\" />
<RegExpr attribute="Special Variable" context="var_detect" String="\$[0-9]+" />
<RegExpr attribute="Special Variable" context="var_detect" String="[@\$](?:[\+\-_]\B|ARGV\b|INC\b)" />
<RegExpr attribute="Special Variable" context="var_detect" String="[%\$](?:INC\b|ENV\b|SIG\b)" />
<RegExpr attribute="Data Type" context="var_detect" String="\$\$[\$\w_]" />
<RegExpr attribute="Data Type" context="var_detect" String="\$[#_][\w_]" />
<RegExpr attribute="Special Variable" context="slash_safe_escape" String="\$[^a-zA-Z0-9\s{][A-Z]?" />
<RegExpr attribute="Data Type" context="var_detect" String="[\$@%]\{[\w_]+\}" />
<RegExpr attribute="Data Type" context="var_detect" String="[\$@%]" />
<RegExpr attribute="Data Type" context="var_detect" String="\*[a-zA-Z_]+" />
<RegExpr attribute="Keyword" context="#stay" String="<[A-Z0-9_]+>" />
<RegExpr attribute="Keyword" context="#stay" String="\s*<<\s*["']?[A-Z0-9_\-]+["']?" />
<RegExpr attribute="Normal Text" context="#stay" String="\s*[)}]\s*/" />
<RegExpr attribute="Normal Text" context="sub_name_def" String="\w+::" />
<RegExpr attribute="Normal Text" context="#stay" String="\w+[=]" />
<StringDetect attribute="String (interpolated)" context="ip_string_2" String="qq(" insensitive="FALSE" />
<StringDetect attribute="String (interpolated)" context="ip_string_3" String="qq{" insensitive="FALSE" />
<StringDetect attribute="String (interpolated)" context="ip_string_4" String="qq[" insensitive="FALSE" />
<StringDetect attribute="String (interpolated)" context="ip_string_5" String="qq<" insensitive="FALSE" />
<RegExpr attribute="String (interpolated)" context="#stay" String="qq([^a-zA-Z0-9_\s[\]{}()]).*\1" minimal="true" />
<Detect2Chars attribute="String" context="string_2" char="q" char1="(" />
<Detect2Chars attribute="String" context="string_3" char="q" char1="{" />
<Detect2Chars attribute="String" context="string_4" char="q" char1="[" />
<Detect2Chars attribute="String" context="string_5" char="q" char1="<" />
<RegExpr attribute="String" context="#stay" String="q([^a-zA-Z0-9_\s[\]{}()]).+\1" />
<StringDetect attribute="Normal Text" context="quote_word" String="qw/" />
<RegExpr attribute="Pattern" context="#stay" String="(?:s|tr|y)\([^)]*\)\s*\([^)]*\)" />
<RegExpr attribute="Pattern" context="#stay" String="(?:s|tr|y)\{[^}]*\}\s*\{[^}]*\}" />
<RegExpr attribute="Pattern" context="#stay" String="(?:s|tr|y)\[[^}]*\]\s*\[[^\]]*\]" />
<RegExpr attribute="Pattern" context="#stay" String="(?:s|tr|y)([^a-zA-Z0-9_\s[\]{}()]).*\1.*\1" minimal="true"/>
<Detect2Chars attribute="Pattern" context="op_s_pattern" char="s" char1="{" />
<RegExpr attribute="Normal Text" context="#stay" String="[\w_]{3,}[[{:\-.;,]" />
<RegExpr attribute="Normal Text" context="#stay" String="[\w_]([mqsy]|q[rx])\(" />
<RegExpr attribute="Pattern" context="pattern_slash" String="(?:m|q[rx])\/" />
<RegExpr attribute="Pattern" context="#stay" String="(?:m|q[rx])\([^)]*\)" />
<RegExpr attribute="Pattern" context="#stay" String="(?:m|q[rx])\{[^}]*\}" />
<RegExpr attribute="Pattern" context="#stay" String="(?:m|q[rx])\[[^\]]*\]" />
<RegExpr attribute="Pattern" context="#stay" String="(?:m|q[rx])([^a-zA-Z0-9_-\s[\]{}()/]).+\1" minimal="true"/>
<RegExpr attribute="Normal Text" context="#stay" String="[\w_]+\s*/" />
<RegExpr attribute="Normal Text" context="#stay" String="[<>"':]/" />
<DetectChar attribute="Pattern" context="pattern_slash" char="/" />
<RegExpr attribute="Operator" context="#stay" String="-[rwxoRWXOeszfdlpSbctugkTBMAC]" />
</context>
<context attribute="Pod" lineEndContext="#stay" name="pod">
<LineContinue attribute="Pod" context="#stay" />
<RegExpr attribute="Pod" context="#stay" String="[^\=]*" />
<RegExpr attribute="Pod" context="#pop" String="^\=cut.*$" />
</context>
<context attribute="String (interpolated)" lineContext="#stay" name="ipstring_internal">
<RegExpr attribute="String (interpolated)" context="#stay" String="\\[\$@%]" />
<RegExpr attribute="Special Variable" context="#stay" String="\$[0-9]+" />
<RegExpr attribute="Data Type" context="var_detect" String="\$+#?[a-zA-Z_]+[a-zA-Z0-9_]*" />
<RegExpr attribute="Data Type" context="var_detect" String="[@%][\$a-zA-Z_]+[a-zA-Z0-9_]*" />
<RegExpr attribute="String Special Character" context="#stay" String="\\[UuLlEtnaefr]" />
</context>
<context attribute="Pattern" lineEndContext="#stay" name="regex_pattern_internal">
<RegExpr attribute="Comment" context="#stay" String="^\s*#.*$" />
<RegExpr attribute="Pattern Character Class" context="#stay" String="\\[anDdSsWw]" />
<RegExpr attribute="Pattern Internal Operator" context="#stay" String="\\[ABbEGLlNUuQdQZz]" />
<RegExpr attribute="Special Variable" context="#stay" String="\\[\d]+" />
<RegExpr attribute="Pattern" context="#stay" String="\\." />
<RegExpr attribute="Data Type" context="#stay" String="[\$@]#?[a-zA-Z_]+[a-zA-Z0-9_]*" />
<Detect2Chars attribute="Pattern Internal Operator" context="pat_ext" char="(" char1="?" />
<DetectChar attribute="Pattern Internal Operator" context="pat_char_class" char="[" />
<RegExpr attribute="Pattern Internal Operator" context="#stay" String="[()?^*+|]" />
<RegExpr attribute="Pattern Internal Operator" context="#stay" String="\{[\d, ]+\}" />
<DetectChar attribute="Pattern Internal Operator" context="#stay" char="$" />
<RegExpr attribute="Comment" context="#stay" String="\s{3,}#.*$" />
</context>
<context attribute="String (interpolated)" lineEndContext="#stay" name="ip_string">
<LineContinue attribute="String (interpolated)" context="#stay"/>
<Detect2Chars attribute="String" context="#stay" char="\" char1="\" />
<Detect2Chars attribute="String (interpolated)" context="#stay" char="\" char1=""" />
<DetectChar attribute="String (interpolated)" context="#pop" char="""/>
<IncludeRules context="2" />
</context>
<context attribute="String" lineEndContext="#stay" name="string">
<LineContinue attribute="String" context="#stay"/>
<Detect2Chars attribute="String" context="#stay" char="\" char1="\" />
<Detect2Chars attribute="String" context="#stay" char="\" char1="'" />
<DetectChar attribute="String" context="#pop" char="'" />
</context>
<context attribute="String (interpolated)" lineEndContext="#stay" name="ip_string_2">
<LineContinue attribute="String (interpolated)" context="#stay" />
<Detect2Chars attribute="String (interpolated)" context="#stay" char="\" char1="(" />
<Detect2Chars attribute="String (interpolated)" context="#stay" char="\" char1=")" />
<RangeDetect attribute="String (interpolated)" context="#stay" char="(" char1=")" />
<DetectChar attribute="String (interpolated)" context="#pop" char=")" />
<IncludeRules context="2" />
</context>
<context attribute="String (interpolated)" lineEndContext="#stay" name="ip_string_3">
<LineContinue attribute="String (interpolated)" context="#stay" />
<Detect2Chars attribute="String (interpolated)" context="#stay" char="\" char1="{" />
<Detect2Chars attribute="String (interpolated)" context="#stay" char="\" char1="}" />
<RangeDetect attribute="String (interpolated)" context="#stay" char="{" char1="}" />
<DetectChar attribute="String (interpolated)" context="#pop" char="}" />
<IncludeRules context="2" />
</context>
<context attribute="String (interpolated)" lineEndContext="#stay" name="ip_string_4">
<LineContinue attribute="String (interpolated)" context="#stay" />
<Detect2Chars attribute="String (interpolated)" context="#stay" char="\" char1="[" />
<Detect2Chars attribute="String (interpolated)" context="#stay" char="\" char1="]" />
<RangeDetect attribute="String (interpolated)" context="#stay" char="[" char1="]" />
<DetectChar attribute="String (interpolated)" context="#pop" char="]" />
<IncludeRules context="2" />
</context>
<context attribute="String (interpolated)" lineEndContext="#stay" name="ip_string_5">
<LineContinue attribute="String (interpolated)" context="#stay" />
<Detect2Chars attribute="String (interpolated)" context="#stay" char="\" char1="<" />
<Detect2Chars attribute="String (interpolated)" context="#stay" char="\" char1=">" />
<RangeDetect attribute="String (interpolated)" context="#stay" char="<" char1=">" />
<DetectChar attribute="String (interpolated)" context="#pop" char=">" />
<IncludeRules context="2" />
</context>
<context attribute="String" lineEndContext="#stay" name="string_2">
<LineContinue attribute="String" context="#stay" />
<Detect2Chars attribute="String" context="#stay" char="\" char1="(" />
<Detect2Chars attribute="String" context="#stay" char="\" char1=")" />
<RangeDetect attribute="String" context="#stay" char="(" char1=")" />
<DetectChar attribute="String" context="#pop" char=")" />
</context>
<context attribute="String" lineEndContext="#stay" name="string_3">
<Detect2Chars attribute="String" context="#stay" char="\" char1="{" />
<Detect2Chars attribute="String" context="#stay" char="\" char1="}" />
<RangeDetect attribute="String" context="#stay" char="{" char1="}" />
<LineContinue attribute="String" context="#stay" />
<DetectChar attribute="String" context="#pop" char="}" />
</context>
<context attribute="String" lineEndContext="#stay" name="string_4">
<LineContinue attribute="String" context="#stay" />
<Detect2Chars attribute="String" context="#stay" char="\" char1="[" />
<Detect2Chars attribute="String" context="#stay" char="\" char1="]" />
<RangeDetect attribute="String" context="#stay" char="[" char1="]" />
<DetectChar attribute="String" context="#pop" char="]" />
</context>
<context attribute="String" lineEndContext="#stay" name="string_5">
<LineContinue attribute="String" context="#stay" />
<Detect2Chars attribute="String" context="#stay" char="\" char1="<" />
<Detect2Chars attribute="String" context="#stay" char="\" char1=">" />
<RangeDetect attribute="String" context="#stay" char="<" char1=">" />
<DetectChar attribute="String" context="#pop" char=">" />
</context>
<context attribute="Pattern" lineEndContext="#stay" name="op_s_pattern">
<LineContinue attribute="Pattern" context="#stay" />
<RegExpr attribute="Comment" context="#stay" String="\s+#.*$" />
<Detect2Chars attribute="Pattern" context="#stay" char="\" char1="{" />
<Detect2Chars attribute="Pattern" context="#stay" char="\" char1="}" />
<IncludeRules context="3" />
<DetectChar attribute="Pattern" context="op_s_replace" char="}" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="op_s_replace">
<LineContinue attribute="Normal Text" context="#stay" />
<RegExpr attribute="Normal Text" context="#stay" String="["'\/]" />
<RegExpr attribute="Comment" context="#stay" String="\s*#.*$" />
<RegExpr attribute="Special Variable" context="#stay" String="\$[0-9]+" />
<RegExpr attribute="Data Type" context="#stay" String="\$+#?[a-zA-Z_]+[a-zA-Z0-9_]*" />
<RegExpr attribute="Data Type" context="#stay" String="[@%][\$a-zA-Z_]+[a-zA-Z0-9_]*" />
<keyword attribute="Keyword" context="0" String="keywords" />
<keyword attribute="Operator" context="0" String="operators" />
<keyword attribute="Function" context="0" String="functions" />
<Detect2Chars attribute="Pattern" context="#stay" char="\" char1="{" />
<Detect2Chars attribute="Pattern" context="#stay" char="\" char1="}" />
<DetectChar attribute="Pattern" context="#stay" char="{" />
<DetectChar attribute="Pattern" context="#pop#pop" char="}" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="quote_word">
<LineContinue attribute="Normal Text" context="#stay" />
<Detect2Chars attribute="Normal Text" context="#stay" char="\" char1="/" />
<DetectChar attribute="Normal Text" context="#pop" char="/" />
<RegExpr attribute="Data Type" context="#stay" String="\$+#?[a-zA-Z_]+[a-zA-Z0-9_]*" />
<RegExpr attribute="Data Type" context="#stay" String="[@%][\$a-zA-Z_]+[a-zA-Z0-9_]*" />
</context>
<context attribute="Pattern" lineEndContext="#stay" name="pattern_slash">
<RegExpr attribute="Comment" context="#stay" String="^\s*#.*$" />
<LineContinue attribute="Pattern" context="#stay" />
<IncludeRules context="3" />
<DetectChar attribute="Pattern" context="#pop" char="/" />
</context>
<context attribute="Data" lineEndContext="#stay" name="data_handle">
<LineContinue attribute="Data" context="#stay"/>
<RegExpr attribute="Pod" context="pod" String="^\=(?:head[1-6]|over|back|item|for|begin|end|pod)\s*.*" />
<RegExpr attribute="Keyword" context="end_handle" String="^__END__" />
</context>
<context attribute="Nothing" lineEndContext="#stay" name="end_handle">
<LineContinue attribute="Nothing" context="#stay" />
<RegExpr attribute="Pod" context="pod" String="^\=(?:head[1-6]|over|back|item|for|begin|end|pod)\s*.*" />
<RegExpr attribute="Keyword" context="data_handle" String="^__DATA__" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="var_detect" fallthrough="true" fallthroughContext="#pop">
<RegExpr attribute="Data Type" context="#stay" String="[\w_]+" />
<AnyChar attribute="Normal Text" context="#pop" String="[;,*=!&" />
<RegExpr attribute="Normal Text" context="#stay" String="\s*[})]?\s*/" />
<DetectChar attribute="Operator" context="#stay" char="'" />
<RegExpr attribute="Normal Text" context="in_hash_elem" String="\s*\{" />
<RegExpr attribute="Operator" context="#stay" String="(\+\+|--)" />
<Detect2Chars attribute="Normal Text" context="#stay" char=":" char1=":" />
<RegExpr attribute="Normal Text" context="#stay" String="\s*\}?\s*->\s*" />
<RegExpr attribute="Normal Text" context="in_hash_elem" String="\s*\}\s*\{\s*" />
<RegExpr attribute="Data Type" context="#stay" String="[\$@%]" />
</context>
<context attribute="Normal Text" lineEndContext="#pop" name="slash_safe_escape" fallthrough="true" fallthroughContext="#pop">
<RegExpr attribute="Normal Text" context="#pop" String="\s*[)}\]]?\s*/" />
<keyword attribute="Keyword" context="#pop" String="keywords" />
</context>
<context attribute="Normal Text" lineEndContext="#pop" name="sub_name_def">
<RegExpr attribute="Normal Text" context="#stay" String="[\w_]+" />
<DetectChar attribute="Data Type" context="var_detect" char="$" />
<RegExpr attribute="Normal Text" context="sub_arg_definition" String="\s*\(" />
<AnyChar attribute="Normal Text" context="#pop" String=";{" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="package_qualified_blank">
<RegExpr attribute="Normal Text" context="#pop" String="[\w_]+" />
</context>
<context attribute="Normal Text" lineEndContext="#pop" name="in_hash_elem">
<DetectChar attribute="String (interpolated)" context="ip_string" char=""" />
<DetectChar attribute="String" context="string" char="'" />
<RegExpr attribute="String" context="#stay" String="\s*[\w_]+\s*(?![\w_\(])" />
<RegExpr attribute="Special Variable" context="#stay" String="\$[0-9]+" />
<RegExpr attribute="Special Variable" context="#stay" String="[@\$](?:[\+\-_]\B|ARGV\b|INC\b)" />
<RegExpr attribute="Special Variable" context="#stay" String="[%\$](?:INC\b|ENV\b|SIG\b)" />
<RegExpr attribute="Data Type" context="var_detect" String="\$\$[\$\w_]" />
<RegExpr attribute="Data Type" context="var_detect" String="\$[#_][\w_]" />
<RegExpr attribute="Special Variable" context="#stay" String="\$[^a-zA-Z0-9\s{][A-Z]" />
<RegExpr attribute="Data Type" context="var_detect" String="[\$@%]" />
<RegExpr attribute="Normal Text" context="#pop" String="\s*[\w_]+\s*\(" />
<DetectChar attribute="Normal Text" context="#pop" char="}" />
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="sub_arg_definition" fallthrough="true" fallthroughContext="#pop#pop">
<RegExpr attribute="Data Type" context="#stay" String="[\$@%]" />
<DetectChar attribute="Normal Text" context="slash_safe_escape" char=")" />
</context>
<context attribute="Pattern Internal Operator" lineEndContext="#stay" name="pat_ext">
<RegExpr attribute="Comment" context="#pop" String="\#[^)]*" />
<RegExpr attribute="Pattern Internal Operator" context="#pop" String="[:=!><]+" />
<DetectChar attribute="Pattern Internal Operator" context="#pop" char=")" />
</context>
<context attribute="Pattern Character Class" lineEndContext="#stay" name="pat_char_class">
<LineContinue attribute="Pattern Character Class" context="#stay" />
<DetectChar attribute="Pattern Internal Operator" context="#stay" char="^" />
<Detect2Chars attribute="Pattern Character Class" context="#stay" char="\" char1="\" />
<Detect2Chars attribute="Pattern Character Class" context="#stay" char="\" char1="]" />
<RangeDetect attribute="Pattern Character Class" context="#stay" char="[" char1="]" />
<DetectChar attribute="Pattern Internal Operator" context="#pop" char="]" />
</context>
<context attribute="Comment" name="comment" lineEndContext="#pop">
<RegExpr attribute="Note" context="#stay" String="(?:FIXME|TODO|NOTE):?" />
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal" />
<itemData name="Keyword" defStyleNum="dsKeyword" />
<itemData name="Pragma" defStyleNum="dsKeyword" />
<itemData name="Function" defStyleNum="dsNormal" color="#000080" selColor="#ffffff" bold="0" italic="0"/>
<itemData name="Operator" defStyleNum="dsKeyword" />
<itemData name="Data Type" defStyleNum="dsDataType" />
<itemData name="Special Variable" defStyleNum="dsDataType" color="#C00000" selColor="#C00000" bold="0" italic="0" />
<itemData name="Decimal" defStyleNum="dsDecVal" />
<itemData name="Octal" defStyleNum="dsBaseN" />
<itemData name="Hex" defStyleNum="dsBaseN" />
<itemData name="Float" defStyleNum="dsFloat" />
<itemData name="String" defStyleNum="dsString" color="#FF6C6C" selColor="#FF6C6C" bold="0" italic="0" />
<itemData name="String (interpolated)" defStyleNum="dsString" />
<itemData name="String Special Character" defStyleNum="dsChar" />
<itemData name="Pattern" defStyleNum="dsOthers" />
<itemData name="Pattern Internal Operator" defStyleNum="dsChar" />
<itemData name="Pattern Character Class" defStyleNum="dsBaseN" />
<itemData name="Data" defStyleNum="dsNormal" />
<itemData name="Comment" defStyleNum="dsComment" />
<itemData name="Pod" defStyleNum="dsComment" />
<itemData name="Nothing" defStyleNum="dsComment" />
<itemData name="Note" defStyleNum="dsDecVal" color="#0000FF" selColor="#ffffff" bold="1" italic="0"/>
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="singleLine" start="#" />
</comments>
<keywords casesensitive="1" />
</general>
</language>
|