Skip to content

Commit

Permalink
Merge pull request #865 from helium/andymck/update-file-poller-regex
Browse files Browse the repository at this point in the history
update regex to better match period
  • Loading branch information
jeffgrunewald committed Sep 18, 2024
2 parents 8525c3c + 84b9513 commit 21708cd
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 21708cd

Please sign in to comment.