>
> My feeling is when you need
>
>  * pattern matching (the concept, not Erlang)
>  * capturing substrings
>  * building new strings based on the captured parts
>  * Understood by *most* programmers and sysadmins is lagniappe
>

what is not understandable in

$val1.test.$val2.domain.tld = /$val1/$val2 ?

which is like

[val1, "test", val2, "domain", "tld"]

compared to


(.*)\.test\.(.*).domain.tld = /$1/*2

sorry but I think the second one not really friendly.

- benoit

Reply via email to