That syntax is from the "ed" editor. I learned it in 1975 on Unix v6/PWB, running on a PDP-11/70. --wunder
On 5/2/07 5:04 PM, "Mike Klaas" <[EMAIL PROTECTED]> wrote: > 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