lnav/test/bad-config/formats/invalid-regex/format.json

27 lines
528 B
JSON
Raw Normal View History

{
"bad_regex_log": {
"title": "invalid regex test",
"regex": {
"std": {
"pattern": "^(?<timestamp>\\d+: (?<body>.*)$"
}
},
"level" : {
"error" : "(foo"
},
"timestamp-format" : [
"%i"
],
"sample": [
{
"line": "1428634687123; foo"
}
2017-04-05 14:05:19 +00:00
],
"highlights": {
"foobar": {
"pattern": "abc("
}
}
}
}