View Issue Details

IDProjectCategoryView StatusLast Update
0000679fileGeneralpublic2025-08-28 16:40
Reporteradepasquale Assigned To 
PrioritylowSeveritytweakReproducibilityalways
Status newResolutionopen 
Product Version5.46 
Summary0000679: regex for INI file is missing LF
DescriptionThis regex is using CR as a terminator:
https://github.com/file/file/blob/74e451be9d9e86af5e06e9795403017f8c6833ba/magic/Magdir/windows#L1263

Since there are valid non-Windows INI filies, I think that should be changed to allow both CR and LF:
\^([A-Za-z0-9_\(\)\ ]+)\][\r\n]
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2025-08-28 16:40 adepasquale New Issue