Ignore milliseconds for date and time
This commit is contained in:
parent
454d23a975
commit
cc4b4317e1
|
@ -8,7 +8,7 @@
|
||||||
#include "pcre2_wrapper.h"
|
#include "pcre2_wrapper.h"
|
||||||
|
|
||||||
static const Pcre2Regex LogcatEntryRegex(
|
static const Pcre2Regex LogcatEntryRegex(
|
||||||
"^ *(?:(\\d+)(?:\\.\\d+)?|(\\d{4,})-(\\d{2})-(\\d{2}) (\\d{2}):(\\d{2}):(\\d{2}))" // time and date
|
"^ *(?:(\\d+)|(\\d{4,})-(\\d{2})-(\\d{2}) (\\d{2}):(\\d{2}):(\\d{2}))(?:\\.\\d+)?" // time and date
|
||||||
"(?: +([\\w\\d._-]+))?" // optional user
|
"(?: +([\\w\\d._-]+))?" // optional user
|
||||||
" +(\\d+)" // pid
|
" +(\\d+)" // pid
|
||||||
" +(\\d+)" // tid
|
" +(\\d+)" // tid
|
||||||
|
|
Loading…
Reference in New Issue