Herold Heiko <[EMAIL PROTECTED]> writes:

> BTW any comments about the dots ? Requiring escaped dots in domains would
> become old really fast, reversing behaviour (\. = any char) would be against
> the principle of least surprise, since any other regexp syntax does use the
> opposite.

Modifying the dot to only match a dot might be useful for "domain"
patterns, but I suspect it's not easy to implement.

I don't think such a thing is necessary in practice, though; remember
that even if you don't escape the dot, it still matches the (intended)
dot, along with other characters.  So for quick&dirty usage not
escaping dots will "just work", and those who want to be precise can
escape them.

> Either way pure windows users will be confused (*.html instead of
> .*\.html),

Increased expressive power will hopefully outweigh the confusion.
After all, people who use Wget on Windows are hardly typical Windows
users.  :-)

> but personally I don't think permitting yet another alternate syntax
> (using globs) is justified, and a syntax using exclusively globs
> would be too limited.

My thoughts exactly.

Reply via email to