Removing the "fancy" regex builder for OS X as well. #46
This commit is contained in:
parent
8c7bfb1ad4
commit
f46e4edce0
|
@ -190,7 +190,7 @@ public class SwtAppleCommander implements Listener {
|
||||||
* {@code *.[dD][sS][kK]}.
|
* {@code *.[dD][sS][kK]}.
|
||||||
*/
|
*/
|
||||||
protected String makeExtensionCaseInsensitive(String extension) {
|
protected String makeExtensionCaseInsensitive(String extension) {
|
||||||
if (Host.isWindows()) {
|
if (Host.isWindows() || Host.isMacosx()) {
|
||||||
// Windows SWT does not support the regex and is case insensitive. Leave it as-is!
|
// Windows SWT does not support the regex and is case insensitive. Leave it as-is!
|
||||||
return extension;
|
return extension;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue