[Zope] Search and replace
Max Møller Rasmussen
maxm@normik.dk
Mon, 20 Nov 2000 12:59:26 +0100
From: Martin Winkler [mailto:marwin98@gmx.net]
>Another thought: If Zope would offer s/r, then a bunch of programmers
>would stick in their bad behaviour _not_ implementing <dtml-var>'s, because
>"it's easy and effortless to replace everything from 'Copyright 2000' to
>'Copyright 2001'". But think of it: Maybe this string is correct somewhere
>and SHOULD stay the same. So s/r is at least inefficient, because you'd
>have to check every file whether Zope should replace or not.
try and do this correctly:
<dtml-in customers>
The customer is: <dtml-var customer>
</dtml-in>
Search: "customer"
Replace: "buyer"
Uhhhh ... can of worms
Max M