diff --git a/includes/media.admin.inc b/includes/media.admin.inc
index 79f1d43..427f7c9 100644
--- a/includes/media.admin.inc
+++ b/includes/media.admin.inc
@@ -443,7 +443,7 @@ function media_import($form, &$form_state) {
     $form['pattern'] = array(
       '#type' => 'textfield',
       '#title' => t('Pattern'),
-      '#description' => 'Only files matching this pattern will be imported. For example, to import all jpg and gif files, the pattern would be <em>*.jpg|*.gif</em>.',
+      '#description' => 'Only files matching this pattern will be imported. For example, to import all jpg and gif files, the pattern would be <em>*.{jpg|gif}</em>.',
     );
 
     $form['actions'] = array('#type' => 'actions');
@@ -479,7 +479,7 @@ function media_import_validate($form, &$form_state) {
       form_set_error('directory', t('The provided directory does not exist.'));
     }
     $pattern = !empty($pattern) ? $pattern :  '*';
-    $files = glob("$directory/$pattern");
+    $files = glob("$directory/$pattern", GLOB_BRACE);
     if (empty($files)) {
       form_set_error('pattern', t('No files were found in %directory matching %pattern', array('%directory' => $directory, '%pattern' => $pattern)));
     }
