mirror of
https://github.com/tstack/lnav
synced 2024-11-17 15:29:40 +00:00
30 lines
624 B
JSON
30 lines
624 B
JSON
{
|
|
"bad_regex_log": {
|
|
"title": "invalid regex test",
|
|
"regex": {
|
|
"std": {
|
|
"pattern": "^(?<timestamp>\\d+: (?<body>.*)$"
|
|
},
|
|
"incomplete-match": {
|
|
"pattern": "^(?<timestamp>\\d+);"
|
|
}
|
|
},
|
|
"level": {
|
|
"error": "(foo"
|
|
},
|
|
"timestamp-format": [
|
|
"%i"
|
|
],
|
|
"sample": [
|
|
{
|
|
"line": "1428634687123; foo"
|
|
}
|
|
],
|
|
"highlights": {
|
|
"foobar": {
|
|
"pattern": "abc("
|
|
}
|
|
}
|
|
}
|
|
}
|