aboutsummaryrefslogtreecommitdiff
path: root/node_modules/highlight.js/lib/languages/accesslog.js
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-03-27 21:01:33 +0100
committerFlorian Dold <florian.dold@gmail.com>2019-03-27 21:01:33 +0100
commitcc97a4dd2a967e1c2273bd5f4c5f49a5bf2e2585 (patch)
tree92c5d88706a6ffc654d1b133618d357890e7096b /node_modules/highlight.js/lib/languages/accesslog.js
parent3771b4d6b67b34c130f3a9a1a15f42deefdb2eda (diff)
remove node_modules
Diffstat (limited to 'node_modules/highlight.js/lib/languages/accesslog.js')
-rw-r--r--node_modules/highlight.js/lib/languages/accesslog.js37
1 files changed, 0 insertions, 37 deletions
diff --git a/node_modules/highlight.js/lib/languages/accesslog.js b/node_modules/highlight.js/lib/languages/accesslog.js
deleted file mode 100644
index 9fc5370ac..000000000
--- a/node_modules/highlight.js/lib/languages/accesslog.js
+++ /dev/null
@@ -1,37 +0,0 @@
-module.exports = function(hljs) {
- return {
- contains: [
- // IP
- {
- className: 'number',
- begin: '\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b'
- },
- // Other numbers
- {
- className: 'number',
- begin: '\\b\\d+\\b',
- relevance: 0
- },
- // Requests
- {
- className: 'string',
- begin: '"(GET|POST|HEAD|PUT|DELETE|CONNECT|OPTIONS|PATCH|TRACE)', end: '"',
- keywords: 'GET POST HEAD PUT DELETE CONNECT OPTIONS PATCH TRACE',
- illegal: '\\n',
- relevance: 10
- },
- // Dates
- {
- className: 'string',
- begin: /\[/, end: /\]/,
- illegal: '\\n'
- },
- // Strings
- {
- className: 'string',
- begin: '"', end: '"',
- illegal: '\\n'
- }
- ]
- };
-}; \ No newline at end of file