Message view | « Date » · « Thread » |
---|---|
Top | « Date » · « Thread » |
From | Benoit Chesneau <bchesn...@gmail.com> |
Subject | Re: Vhosting Requirements (was: Re: [jira] Commented: (COUCHDB-230) Add Support for Rewritable URL) |
Date | Thu, 19 Aug 2010 17:09:22 GMT |
> > 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 | |
Mime |
|
View raw message |