Problems with Search and Replace

If reporting a bug with the Zeus IDE please post the details here. Please do not post questions here.
Post Reply
gwgs
Posts: 87
Joined: Tue Nov 21, 2006 6:30 pm
Location: Auckland

Problems with Search and Replace

Post by gwgs »

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: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

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: 87
Joined: Tue Nov 21, 2006 6:30 pm
Location: Auckland

Post by gwgs »

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
Post Reply