mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 03:57:44 +00:00
Merge pull request #2220 from chadbrewbaker/fix-ls-test-regex
fixing regex to take negative time offsets
This commit is contained in:
commit
6c830e2f25
1 changed files with 1 additions and 1 deletions
|
@ -685,7 +685,7 @@ fn test_ls_styles() {
|
||||||
at.touch("test");
|
at.touch("test");
|
||||||
|
|
||||||
let re_full = Regex::new(
|
let re_full = Regex::new(
|
||||||
r"[a-z-]* \d* \w* \w* \d* \d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d* \+\d{4} test\n",
|
r"[a-z-]* \d* \w* \w* \d* \d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d* (\+|\-)\d{4} test\n",
|
||||||
)
|
)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
let re_long =
|
let re_long =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue