Hello,
This came up some time ago under different circumstances:
I opened a bunch of files +10
Using Search and Replace Regular Expressions Posix
I copied and pasted a multi-line search into the search for
and did the same for the replace
then to test the regex I located the cursor at the top of the page and clicked find next.
Zap TextPad closed no save nothing.
Old sudden close of TP bug resurfaced
Moderators: AmigoJack, bbadmin, helios, MudGuard
-
mo
- Posts: 306
- Joined: Tue Mar 11, 2003 1:40 am
Old sudden close of TP bug resurfaced
Best Wishes!
Mike Olds
Mike Olds
- s_reynisson
- Posts: 939
- Joined: Tue May 06, 2003 1:59 pm
Just so I can try it out, could you post your multi-line s&r? The basic structure should do.
Using "Active document" and/or "Match case"? The average size of your files?
I just went through your routine using this one (multi-liner w/replace) with no problems.
Using "Active document" and/or "Match case"? The average size of your files?
I just went through your routine using this one (multi-liner w/replace) with no problems.
Then I open up and see
the person fumbling here is me
a different way to be
the person fumbling here is me
a different way to be
-
mo
- Posts: 306
- Joined: Tue Mar 11, 2003 1:40 am
Hello,
There were 20 open files of about 20Kb each. Active Document, Match Case. Find Next. Boink. I know I hadn't set up the search for properly with escapes, etc. but I was just starting out testing on one only of the documents.
Search for:
<script type="text/javascript1.1">
<!--
function printWin() {
if (window.print)
window.print()
}
//-->
</script>
</head>
<body>
<script type="text/javascript">
<!-- Begin
if (window != top) top.location.href = location.href;
// End -->
</script>
<!-- robots content="none" -->
<hr>
<div class="ctr">
<table class="ltb" cellpadding="0" cellspacing="0" width="100%">
<tr class="ltb">
<td class="nbdltbg" width="33%">
<a href="../../index.htm"><img src="../../images/design_elements/home_sm.jpg" width="132" height="28" alt="Home"></a>
</td>
<td class="nbdltbg">
<p> </p>
</td>
<td class="nbdltbg" width="232">
<form style="margin-bottom: 0; background-color: #f7e6ce; border: 1px solid #cc6600" method="get" action="http://localhost/cgi-bin/fdsearch/search/search.cgi">
<p style="margin-top: 0; margin-bottom: 0">
<input name="Terms" size="24" style="border-style: solid; border-color: #cc6600">
<input type="image" src="../../images/design_elements/searchbutton2.gif" align="top" name="submit" alt="submit" width="39" height="23"></p>
</form>
</td>
</tr>
</table>
</div>
Replace with:
</head>
<body>
<!--#include virtual="../../admin/includes/top_02.htm -->
There were 20 open files of about 20Kb each. Active Document, Match Case. Find Next. Boink. I know I hadn't set up the search for properly with escapes, etc. but I was just starting out testing on one only of the documents.
Search for:
<script type="text/javascript1.1">
<!--
function printWin() {
if (window.print)
window.print()
}
//-->
</script>
</head>
<body>
<script type="text/javascript">
<!-- Begin
if (window != top) top.location.href = location.href;
// End -->
</script>
<!-- robots content="none" -->
<hr>
<div class="ctr">
<table class="ltb" cellpadding="0" cellspacing="0" width="100%">
<tr class="ltb">
<td class="nbdltbg" width="33%">
<a href="../../index.htm"><img src="../../images/design_elements/home_sm.jpg" width="132" height="28" alt="Home"></a>
</td>
<td class="nbdltbg">
<p> </p>
</td>
<td class="nbdltbg" width="232">
<form style="margin-bottom: 0; background-color: #f7e6ce; border: 1px solid #cc6600" method="get" action="http://localhost/cgi-bin/fdsearch/search/search.cgi">
<p style="margin-top: 0; margin-bottom: 0">
<input name="Terms" size="24" style="border-style: solid; border-color: #cc6600">
<input type="image" src="../../images/design_elements/searchbutton2.gif" align="top" name="submit" alt="submit" width="39" height="23"></p>
</form>
</td>
</tr>
</table>
</div>
Replace with:
</head>
<body>
<!--#include virtual="../../admin/includes/top_02.htm -->
Best Wishes!
Mike Olds
Mike Olds
- s_reynisson
- Posts: 939
- Joined: Tue May 06, 2003 1:59 pm
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact:
Hi mo
I just did a Search/Replace with no problem. BUT....I had to turn POSIX OFF. Other wise it was hanging on the function parentheses () because I did not include the backslashes in the Search string.
Unlike s_reynisson, I was able to paste the entire 41 lines into Search, It did not truncate.
Using version 4.7.2 on WIN98ME system.
I just did a Search/Replace with no problem. BUT....I had to turn POSIX OFF. Other wise it was hanging on the function parentheses () because I did not include the backslashes in the Search string.
Unlike s_reynisson, I was able to paste the entire 41 lines into Search, It did not truncate.
Using version 4.7.2 on WIN98ME system.
Hope this was helpful.............good luck,
Bob
Bob