mlt/zandy — comment on commit 4094adb4ea9ecc462e838d3d45a565ca21dd4664
File: src/com/gimranov/zandy/app/AttachmentActivity.java line 467
By mlt:

Shall it be "...{1,6}$" ? I recently get exception about this regexp

12-17 01:41:53.774: E/AndroidRuntime(430): FATAL EXCEPTION: Thread-10
12-17 01:41:53.774: E/AndroidRuntime(430): java.util.regex.PatternSyntaxException: Syntax error U_REGEX_BAD_INTERVAL near index 18:
12-17 01:41:53.774: E/AndroidRuntime(430): .*\.[a-zA-Z0-9]{1-6}
12-17 01:41:53.774: E/AndroidRuntime(430): ^
12-17 01:41:53.774: E/AndroidRuntime(430):	at com.ibm.icu4jni.regex.NativeRegEx.open(Native Method)
12-17 01:41:53.774: E/AndroidRuntime(430):	at java.util.regex.Pattern.compileImpl(Pattern.java:383)
12-17 01:41:53.774: E/AndroidRuntime(430):	at java.util.regex.Pattern.(Pattern.java:341)
12-17 01:41:53.774: E/AndroidRuntime(430):	at java.util.regex.Pattern.matches(Pattern.java:406)
12-17 01:41:53.774: E/AndroidRuntime(430):	at java.lang.String.matches(String.java:1985)
12-17 01:41:53.774: E/AndroidRuntime(430):	at com.gimranov.zandy.app.AttachmentActivity$ProgressThread.run(AttachmentActivity.java:486)

What is this check for? How come it can be without extension?