| View previous topic :: View next topic |
| Author |
Message |
gwgs
Joined: 21 Nov 2006 Posts: 67
|
Posted: Thu Jan 10, 2008 9:32 pm Post subject: Problems with Search and Replace |
|
|
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 |
|
| Back to top |
|
 |
jussij Site Admin
Joined: 13 Aug 2004 Posts: 1938
|
Posted: Fri Jan 11, 2008 1:31 am Post subject: |
|
|
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: | 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 |
|
| Back to top |
|
 |
gwgs
Joined: 21 Nov 2006 Posts: 67
|
Posted: Sun Jan 13, 2008 8:38 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
|