Subject:replace recursively ruins results Author:Ann Cecil Date:16 Aug 2000 09:44 AM
Using the replace function as if it were notepad is dangerous: if find is set to look for the delimited tag 'aline' (your note editor won't let me show the brackets)
and replace says delimited tag 'aline' followed by delimited tag 'ahead' - be prepared with the three finger salute.
This is with a freshly purchased copy (2.0.1)
running on Windows 2000
I have been able to reproduce a problem where the first occurrence is recursively replaced. For example, (aline)asdfasdf(aline)asdfasdf will become (aline)(ahead)(ahead)asdfasdf(aline)(ahead). Is the extent of the misbehavior you were seeing?
no, mine is worse - it keeps on replacing, so I have to invoke Task Manager and kill it.
I'm having some difficulties with Stylus on Windows 2000; on one machine I get the incredible recursive replacement behavior, on another I can't get it to find any text, let alone replace. I'm beginning to wonder if this is a Windows 2000 problem, rather than a Stylus problem.
First thing, of course, is to make sure you have exactly the same boxes checked and are searching for the same text on the same exact file, in the same version of Stylus.
I'm also interested in what version of C:\WINNT\System32\vbscript.dll you have on each machine. You can find it by looking at the Version tab on the file's properties.