On May 15, 2009, at 2:48 PM, Carl Zwanzig wrote:

I've run into this with countless applications- the programmer uses a regexp since it's so powerful, but the user expects to enter "zba*" and get everything starting with "zba". Ditto on not finding something you can see in a listing. Remember that while many list admins are either programmers or system managers, many are just users, and wouldn't know a regexp if it bit them.

IMHO, some options (in order of my desirability)...
radio buttons to select regexp or glob behavior (default to glob?)
text around the box that says "it's a regexp"
make the search use a glob

I tend to agree that "normal" users think of globs instead of regexps. Unfortunately, there's no good non-filesystem glob module in Python that I know of. Ideally, there'd be a module that translates globs to regexps. That might not be too hard.

-Barry

Attachment: PGP.sig
Description: This is a digitally signed message part

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9

Reply via email to