Problems with Search and Replace

If reporting a bug with the Zeus editor please post the details here. Please do not post questions here.
gwgs
Posts: 78
Joined: Tue Nov 21, 2006 6:30 pm

Problems with Search and Replace

Postby gwgs » Thu Jan 10, 2008 9:32 pm

If doing a search (and replace) for a string that falls at the end of a line (with or without whitespace at end), and "Match whole words only" is ticked, then the search string will not be found.

e.g. search for v5

in line below it won't be found
name v1 v2 v3 v4 v5
but in the following line it will
name v1 v2 v3 v4 v5 v6

It happens with simple string searches and regular expressions

Thanks in advance

Grant Smith

jussij
Site Admin
Posts: 2230
Joined: Fri Aug 13, 2004 5:10 pm

Postby jussij » Fri Jan 11, 2008 1:31 am

Hi Grant,

Unfortunately I could not replacte this error :(

I'm using the Zeus 3.96 m version and tried the following:

Step #1: File new

Step #2: Paste in the following code into the new document:

Code: Select all

name v1 v2 v3 v4 v5
name v1 v2 v3 v4 v5 v6 
Note:Each of these lines above has whitespace at the end of line.

Step #3: Bring up the Search/Replace dialog

Step #4: Zet the search text to v5 and replace text to test

Step #5: Tick "Match whole words only" option

Step #6: Hitting the Search button works

Step #7: Hitting the Replace button works

Is there some specific to your case that I am not doing :?:

Cheers Jussi

gwgs
Posts: 78
Joined: Tue Nov 21, 2006 6:30 pm

Postby gwgs » Sun Jan 13, 2008 8:38 pm

hmmm ... it's working for me now, but definitely wasn't earlier. If it occurs again i'll try and work out how to replicate it.

Thanks for the reply

Grant


Return to “Reporting a Bug”

Who is online

Users browsing this forum: No registered users and 0 guests

cron