2

Resolved

Problem with Format CR and LF

description

Hello. Very great tool! But I have a problem with UNIX (MAC(CR) maybe too?) files.

Search multiline with a UNIX file, I get 0 results. Set Format from UNIX (LF) to DOS (CR+LF) its working fine. It is possible to fix this?

file attachments

comments

mears wrote Jan 30, 2014 at 10:23 PM

Same problem here. Likewise, when you replace it uses DOS line endings even if the target file uses UNIX.

ericpopivker wrote Jan 31, 2014 at 7:41 AM

Hi,

Please provide a sample file or just text sample and what you used for find/replace?

This way I can easily reproduce and fix it.

Eric

Daijobou wrote Jan 31, 2014 at 12:03 PM

Simple create a UNIX file (I make it with PsPad.exe). See attachment.
Now Search for two lines (because: line break bug):

English
Español

Result: Found nothing.
Change in text file UNIX format to DOS format. Now all working fine.

ericpopivker wrote Mar 3, 2014 at 11:53 AM

Hi,

There is a new option to "Use Meta Chars" in 1.5.1 BETA:
https://findandreplace.codeplex.com/releases/view/119228

Please give it a try and let me know if it doesn't work as you expected.

Eric

mears wrote Jun 23, 2014 at 6:44 PM

Where is this "Use Meta Chars" option? I don't see it in either 1.6 or 1.7 (1.51 beta doesn't appear to be available for download any longer).

beaksnot wrote Apr 21, 2016 at 4:49 PM

Same issue. I'm unable to search multi-line in Windows in UNIX UTF-8 BOM Files.
I too am lacking the "Use Meta Chars" option.

e.g. Not found when EOL format is set to UNIX (LF)
<script src='scripts/jquery-1.7.1.min.js'></script>
<script src='scripts/swfobject.js'></script>
<script src='scripts/crs2lms.js'></script>
See attached.

Unfortunately, converting several hundred files to CR+LF is not an option.

Any work-around for this?

Beak