tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 18500] Host aliases to match by regular expression
Date Mon, 26 Sep 2011 19:10:58 GMT

--- Comment #9 from Christopher Schultz <> 2011-09-26 19:10:58
UTC ---
Suffix-matching would certainly be faster than regular expression matching, but
it has the same problems the regex's have with not being sortable, etc.

Suffix-matching seems (to me) to be much more practically useful than complete
regular-expression support, but I always just use a single default host, so
what do I know?

I just wouldn't watch to mix-and-match too many name-matching styles or things
are going to get seriously ridiculous (exact-match, then suffix-match, then
regex-match, then what next?).

I do agree that keeping the existing code in there is a good thing: most folks
don't need regex-matching and so the binary search is a good implementation.
The question is how many other strategies are worth implementing /after/ an
exact-match is not found?

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message