Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Regex engine doesn't recognize native DOS line endings

Aug
124
0
The command ffind /e"^\[.+\]$" myfile.ini does not find sections ([section]) in an ini file with DOS line endings - while it will find them in the same file with Unix line endings. In comparison, the same command will find sections in ini files with DOS or Unix line endings in TCC LE.
 
Same here. It was better in v19.
Code:
g:\tc19> ver

TCC  19.10.52   Windows 7 [Version 6.1.7601]

g:\tc19> ffind /v /e"^\[.+\]$" TCMD.INI

---- G:\tc16\TCMD.INI
[4NT]
[Debugger]
[BatchVariables]
[DebuggerFont]
[AliasVariables]
[EnvironmentVariables]
[FunctionVariables]
[Watch]
[HSCROLL]
[TakeCommand]
[Font]
[ListView]
[SSH]
[4MMFILE]
[Toolbar1]

  15 lines in      1 file
 

Similar threads

Back
Top