View Single Post
Old 03-08-2022, 08:46 PM   #78
pete6055
Connoisseur
pete6055 began at the beginning.
 
Posts: 74
Karma: 10
Join Date: Nov 2012
Device: none
Kevin:

I just installed test 377 on WIN10pro. Thanks for working so hard to resolve bugs. I’m sorry to say I found another small one in Find/Replace.

Try:

Mode Normal, All html files, Down
Find: <body>
Replace: <body>\n<h2 class="hdr" title="">\1 <br/><span class="smaller">by \2<br/><span class="color">© 2022</span></span></h2>

My Result:

<body>
<h2 class="hdr" title=""> <br/><span class="smaller">by \2<br/><span class="color">© 2022</span></span></h2>

================================================== ====

Try:

Mode Regex, All html files, Down
Find: <body>
Replace: <body>\n<h2 class="hdr" title="">\1 <br/><span class="smaller">by \2<br/><span class="color">© 2022</span></span></h2>

My Result:
<body>
<h2 class="hdr" title=""><body> <br/><span class="smaller">by \2<br/><span class="color">© 2022</span></span></h2>

================================================== ====

If you replace switch \1 and \2 with characters A and B you get the expected:

<body>
<h2 class="hdr" title="">A <br/><span class="smaller">by B<br/><span class="color">© 2022</span></span></h2>

in both regex and normal mode. I think its the succession of switches that causing the problem or the way the \n switch is handled. Not a high priority fix, just something to know.

Thanks, again
pete6055 is offline   Reply With Quote