mirror of
https://github.com/dvorka/hstr.git
synced 2025-02-24 14:57:35 +08:00
Making histtimeformat regexp concise.
This commit is contained in:
parent
78f7cb2c45
commit
906c9b5f7a
1 changed files with 1 additions and 2 deletions
|
@ -115,8 +115,7 @@ HistoryItems *get_prioritized_history()
|
|||
|
||||
regex_t regexp;
|
||||
// HISTTIMEFORMAT defined > ^#1234567890$
|
||||
const char *histtimeformatTimestamp
|
||||
= "^#[[:digit:]][[:digit:]][[:digit:]][[:digit:]][[:digit:]][[:digit:]][[:digit:]][[:digit:]][[:digit:]][[:digit:]]$";
|
||||
const char *histtimeformatTimestamp = "^#[[:digit:]]\\{10,\\}$";
|
||||
regexp_compile(®exp, histtimeformatTimestamp);
|
||||
|
||||
RankedHistoryItem *r;
|
||||
|
|
Loading…
Reference in a new issue