FIND issue

General questions about using WildEdit

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
skwareks
Posts: 15
Joined: Wed Mar 02, 2005 6:36 pm
Location: Toronto

FIND issue

Post by skwareks »

Hi,

I ran into a problem. I am trying to replace the following code within 77 files. The code is the same in all files:

var d = new Date();
Var date_string = util.printd("yyyy-mm-dd", d);
var newFileName;
newFileName = Page1.Find("FILENAME",1).Value + 'REV=' + date_string + '-' + d.getHours() + '-' + d.getMinutes() + '-' + d.getSeconds() + '_.ps';


but for some reason WILDEDIT is unable to find the code I am trying to replace. It worked fine for other replacements without any problems. But now even if I try to search only for:
var date_string = util.printd("yyyy-mm-dd", d);

it is not successful? Any help greatly appreciated.

Thanks,
Sebastian
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post by MudGuard »

Did you copy and paste the text you try to find?

If not, there might be slight differences like a non-breakable space instead of a space, spaces instead of a tab, a space before the line break, different line breaks ...
skwareks
Posts: 15
Joined: Wed Mar 02, 2005 6:36 pm
Location: Toronto

Post by skwareks »

Yes, i only copy and paste. It always worked and everything looks correct... hmmmm?
Post Reply