Skip to content

Commit

Permalink
update regex to better match period
Browse files Browse the repository at this point in the history
  • Loading branch information
andymck committed Sep 18, 2024
1 parent 8525c3c commit 84b9513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion file_store/src/file_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub struct FileInfo {
}

lazy_static! {
static ref RE: Regex = Regex::new(r"([a-z,_]+).(\d+)(.gz)?").unwrap();
static ref RE: Regex = Regex::new(r"([a-z,\d,_]+)\.(\d+)(\.gz)?").unwrap();
}

impl FromStr for FileInfo {
Expand Down

0 comments on commit 84b9513

Please sign in to comment.