Skip to content

Commit

Permalink
Merge pull request #3 from FlameInTheDark/regex-fix
Browse files Browse the repository at this point in the history
Regex fix for the journal file
  • Loading branch information
BenJuan26 authored Jan 26, 2023
2 parents ee308ae + 8cdf0d0 commit 478fec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elite.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ func init() {
currUser, _ := user.Current()
homeDir := currUser.HomeDir
defaultLogPath = filepath.FromSlash(homeDir + "/Saved Games/Frontier Developments/Elite Dangerous")
journalFilePattern = regexp.MustCompile(`^Journal\.\d{12}\.\d{2}\.log$`)
journalFilePattern = regexp.MustCompile(`^Journal\.\d{4}\-\d{2}\-\d{2}T\d{6}\.\d{2}\.log$`)
}

0 comments on commit 478fec8

Please sign in to comment.