From 89007ae03923d5736f996a26d3d6a00cc6c019fd Mon Sep 17 00:00:00 2001 From: Lehi Toskin Date: Mon, 15 Jun 2015 15:19:16 -0700 Subject: [PATCH] Fix typo, clarify get-file filter --- gui-doc/scribblings/gui/dialog-funcs.scrbl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gui-doc/scribblings/gui/dialog-funcs.scrbl b/gui-doc/scribblings/gui/dialog-funcs.scrbl index f698e1f5..d0aa1f45 100644 --- a/gui-doc/scribblings/gui/dialog-funcs.scrbl +++ b/gui-doc/scribblings/gui/dialog-funcs.scrbl @@ -58,7 +58,9 @@ On Windows and Unix, @racket[filters] determines a set of filters from @racket[filters] list contains two strings: a description of the filter as seen by the user, and a filter pattern matched against file names. Pattern strings can be a simple ``glob'' pattern, or a number of glob - patterns separated by a @litchar[";"] character. + patterns separated by a @litchar[";"] character. These patterns are not + regular expressions and can only be used with a @litchar["*"] wildcard + character. For example, @racket["*.jp*g;*.png"]. On Unix, a @racket["*.*"] pattern is implicitly replaced with @racket["*"]. On Mac OS X, suffix names are extracted from all globs that match a fixed suffix (e.g., two suffixes of @racket["foo"] and @racket["bar"] @@ -84,7 +86,7 @@ See also @racket[path-dialog%] for a richer interface. (or/c (listof path?) #f)]{ Like @racket[get-file], except that the user can select multiple files, and the - result is either a list of file paths of @racket[#f]. + result is either a list of file paths or @racket[#f]. }