Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The regular expression in GetFileListCommand is incorrect #66

Open
akgordon opened this issue Sep 17, 2017 · 1 comment
Open

The regular expression in GetFileListCommand is incorrect #66

akgordon opened this issue Sep 17, 2017 · 1 comment

Comments

@akgordon
Copy link

The Regular Expression seems to be incorrect and is cause for the getFileList not working and always return empty set.

final class GetFileListCommand extends ActionCameraCommand {
private static Pattern fileSizeAndTimePattern = Pattern.compile("^(\d+) bytes\|(\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d)$");

Should be ""^(\d+) bytes|(\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d)$"

@Asad1234567
Copy link

can't able to edit the jar file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants