On Thursday 15 February 2007 14:17, David Leangen wrote:
> Do you mind explaining a little more why regexps can't be used?

First reason is no longer valid; The code that was found is actually doing the 
wrong thing, and is being fixed right now.

Second reason is about effeciency in regular expressions. The so called 
ContentMatchExpression part of the Destination will be evaluated on every 
request across every "wire". Not that RegExps are extremely slow, and perhaps 
a bit moot.

Third reason is that RegExps are hard to figure out what is wired or not. By 
having more static declarations makes it easier for tools visualize the 
wiring. Humans also has problems to fully understand how RegExps really 
evaluate (when beyond the most basic constructs).

Cheers
Niclas

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to