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