Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

| >>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
| 
| >> Is it necessary to have the simple/regex distinction at all? regex
| >> alone should be sufficient, shouldn't it?
| 
| Angus> Yes. Good point. I'll investigate further.
| 
| Yes, but regex can be confusing, especially if people want to use
| things like ".", "[" and don't want to know why this does not work.
| Believe, me, regex are really really confusing to first comers and it
| takes a long time to get accustomed to them.

We used to have code in the xfroms FileDialog that made a bit simpler
for beginners, in that it allowed simple glob patterns as well.

Typically we just rewrote "*" -> ".*" and "." -> "\."

I don't agree on the "long time" argument.

-- 
        Lgb

Reply via email to