On 5/2/07, Ryan McKinley <[EMAIL PROTECTED]> wrote:
How about Mike's other suggestion: <copyField regexp="s/(.*)_s/\1_t/" /> this would keep the glob style for "source" and "dest", but use "regex" to transform a sorce -> dest
Wow, I didn't even remember suggesting that. I agree (with Hoss) that backward compatibility is important, but I disagree (with myself) that the above syntax is nice. Outside of perl, I'm not sure how common the s/ / / syntax is (is it used in java?) perhaps <copyField re_source="(.*)_s" dest="\1_t"/> ? -Mike