Search & Replace doesn't quite work

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
User avatar
big0mike
Posts: 19
Joined: Tue Feb 12, 2008 8:44 pm
Location: Peoria AZ
Contact:

Search & Replace doesn't quite work

Post by big0mike »

I'm using WeBuilder 8.3.1.81, still trying it out, and I've found a peculiar bug in both the Replace & Replace in files function that is frustrating me.

I've got this bit of text to s&r:
Image
WeBuilder will absolutely NOT find this chunk of text and replace it.

There's obviously something that is preventing the program from finding the text. Maybe the # in the HREF statement? Or the <!-- comments which is what I'm trying to remove globally?

I dunno why but that text is in multiple files and I opened HomeSite and used it's S&R function and it worked perfectly so the text must obviously be the same.

Any ideas?

Thanks,

Mike
Gatis
Blumentals Software Developer
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia

Post by Gatis »

Please send a code example and the text you are trying to find to our support email address. Thanks.
User avatar
big0mike
Posts: 19
Joined: Tue Feb 12, 2008 8:44 pm
Location: Peoria AZ
Contact:

Post by big0mike »

It has been sent.

I was able to search for the comments, tabs, and LI tag at the beginning of line 57 and replace those as well as the LI and the closing comments at the end so I don't think it's the comments causing a problem.
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Post by Karlis »

What if you turn off word-wrap?
Karlis Blumentals
Blumentals Software
www.blumentals.net
User avatar
big0mike
Posts: 19
Joined: Tue Feb 12, 2008 8:44 pm
Location: Peoria AZ
Contact:

Post by big0mike »

I dunno. I have since S&Rd everything that I needed and have been unable to duplicate the issue so I don't know if Word Wrap makes a difference. If it happens again I'll make sure to copy the files in question to another directory so I can play with them.
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Post by Karlis »

Thanks!
Karlis Blumentals
Blumentals Software
www.blumentals.net
mattlavallee
Posts: 2
Joined: Thu Mar 27, 2008 1:28 am

Post by mattlavallee »

I can definitely agree that S&R seems a bit buggy.

Today, I was searching for ").Value" and I could not stop it from trying to evaluate the expression as a regex. It would replace any series of characters that trailed an open parenthesis.

Any ideas?

-Matt
User avatar
big0mike
Posts: 19
Joined: Tue Feb 12, 2008 8:44 pm
Location: Peoria AZ
Contact:

Post by big0mike »

Ran into another situation where S&R wasn't working properly.

http://www.bigmikes.org/test.zip is a bunch of html files.

Since the code tags don't work for s**t the text I searched for and tried to replace with are at http://www.bigmikes.org/test.txt

It found nothing while searching in the directory the files were in and search subfolders was checked.

When I open ALL those files and do a S&R on open files it replaced everything.

See what you can find out about the problem now.

Mike
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Post by syrupcore »

Code: Select all

<li><a href="#" class="flyout" name="btn_costume"
								onMouseOut="MM_startTimeout()"
								onMouseOver="MM_showMenu(window.mm_menu_0114160544_3,160,0,null,'btn_costume');">Costume Info</a></li>
mike, make sure you toggle "Disable HTML in this post" to post html code. I wish phpbb was smart enough to just DO that when you put code in, oh, I dunno [ code ] tags!? :)
User avatar
big0mike
Posts: 19
Joined: Tue Feb 12, 2008 8:44 pm
Location: Peoria AZ
Contact:

Post by big0mike »

syrupcore wrote:mike, make sure you toggle "Disable HTML in this post" to post html code. I wish phpbb was smart enough to just DO that when you put code in, oh, I dunno [ code ] tags!? :)
Ha... been using phpBB for a while and never really knew what that option would be used for. Now I know. Thanks!
llbbl
Posts: 50
Joined: Thu Mar 27, 2008 9:19 pm

Re: Search & Replace doesn't quite work

Post by llbbl »

I think the popup box that comes up if you dont find anything is annoying. ><
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Search & Replace doesn't quite work

Post by Karlis »

llbbl wrote:I think the popup box that comes up if you dont find anything is annoying. ><
You can turn that off in options.

We will take a look at the bug-report. Please do not remove the .zip fle for now.
Karlis Blumentals
Blumentals Software
www.blumentals.net
User avatar
big0mike
Posts: 19
Joined: Tue Feb 12, 2008 8:44 pm
Location: Peoria AZ
Contact:

Re: Search & Replace doesn't quite work

Post by big0mike »

Karlis wrote:We will take a look at the bug-report. Please do not remove the .zip fle for now.
I'll leave it where it is until I hear some type of results from you...
User avatar
big0mike
Posts: 19
Joined: Tue Feb 12, 2008 8:44 pm
Location: Peoria AZ
Contact:

Re: Search & Replace doesn't quite work

Post by big0mike »

Has this issue been addressed any further? In the last week I've run into it several times... it's not a HUGE issue but having to open HomeSite to do a simple S&R is a little frustrating.
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Search & Replace doesn't quite work

Post by Karlis »

No this has not been addressed it is still in the queue.
Karlis Blumentals
Blumentals Software
www.blumentals.net
Post Reply